Class LuceneField
- java.lang.Object
-
- net.ontopia.infoset.fulltext.impl.lucene.LuceneField
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.lucene.index.IndexableFieldfield
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()INTERNAL: Returns the name of the field.ReadergetReader()INTERNAL: Returns the Reader value of the field.StringgetValue()INTERNAL: Returns the String value of the field.booleanisIndexed()INTERNAL: Returns true if the field is to be indexed, so that it may be searched on.booleanisStored()INTERNAL: Returns true if the field is to be stored in the index for return with search hits.booleanisTokenized()INTERNAL: Returns true if the field is to be tokenized prior to indexing.StringtoString()
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:FieldIFINTERNAL: Returns the name of the field.
-
getValue
public String getValue()
Description copied from interface:FieldIFINTERNAL: Returns the String value of the field. Note that null is returned if the field has a reader set.
-
getReader
public Reader getReader()
Description copied from interface:FieldIFINTERNAL: Returns the Reader value of the field. Note that null is returned if the field has a value set.
-
isStored
public boolean isStored()
Description copied from interface:FieldIFINTERNAL: Returns true if the field is to be stored in the index for return with search hits.
-
isIndexed
public boolean isIndexed()
Description copied from interface:FieldIFINTERNAL: Returns true if the field is to be indexed, so that it may be searched on.
-
isTokenized
public boolean isTokenized()
Description copied from interface:FieldIFINTERNAL: Returns true if the field is to be tokenized prior to indexing.- Specified by:
isTokenizedin interfaceFieldIF
-
-