de.nava.informa.search
Class ItemDocument

java.lang.Object
  extended by de.nava.informa.search.ItemDocument
All Implemented Interfaces:
ItemFieldConstants

public class ItemDocument
extends Object
implements ItemFieldConstants

A utility class for making a Lucene Document from a news Item object.

Author:
Niko Schmuck (niko@nava.de)

Field Summary
 
Fields inherited from interface de.nava.informa.search.ItemFieldConstants
CHANNEL_ID, DATE_FOUND, DESCRIPTION, ITEM_ID, TITLE, TITLE_AND_DESC
 
Method Summary
static org.apache.lucene.document.Document makeDocument(ItemIF item)
          Makes a document for a ItemIF object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

makeDocument

public static org.apache.lucene.document.Document makeDocument(ItemIF item)
Makes a document for a ItemIF object.

The document has five fields:



Copyright © 2002-2007 Niko Schmuck. All Rights Reserved.