Class IndexerField

java.lang.Object
org.apache.maven.index.IndexerField

public class IndexerField extends Object
Holds basic information about Indexer field, how it is stored. To keep this centralized, and not spread across code. Since Lucene 2.x, the field names are encoded, so please use real chatty names instead of cryptic chars!
Author:
cstamas
  • Field Details

    • KEYWORD_NOT_STORED

      public static final org.apache.lucene.document.FieldType KEYWORD_NOT_STORED
      Indexed, not tokenized, not stored.
    • KEYWORD_STORED

      public static final org.apache.lucene.document.FieldType KEYWORD_STORED
      Indexed, not tokenized, stored.
    • ANALYZED_NOT_STORED

      public static final org.apache.lucene.document.FieldType ANALYZED_NOT_STORED
      Indexed, tokenized, not stored.
    • ANALYZED_STORED

      public static final org.apache.lucene.document.FieldType ANALYZED_STORED
      Indexed, tokenized, stored.
  • Constructor Details

  • Method Details

    • getOntology

      public Field getOntology()
    • getVersion

      public IndexerFieldVersion getVersion()
    • getKey

      public String getKey()
    • getFieldType

      public org.apache.lucene.document.FieldType getFieldType()
    • isIndexed

      public boolean isIndexed()
    • isKeyword

      public boolean isKeyword()
    • isStored

      public boolean isStored()
    • toField

      public org.apache.lucene.document.Field toField(String value)