Class PrefixItem

    • Constructor Detail

      • PrefixItem

        public PrefixItem​(java.lang.String prefix)
      • PrefixItem

        public PrefixItem​(java.lang.String prefix,
                          boolean isFromQuery)
      • PrefixItem

        public PrefixItem​(java.lang.String prefix,
                          java.lang.String indexName)
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from class: Item
        Returns the name of this item
        Overrides:
        getName in class WordItem
      • stringValue

        public java.lang.String stringValue()
        Description copied from class: WordItem
        Returns this word as it should be used in executing the query. This is usually (but not always) a normalized and stemmed form
        Specified by:
        stringValue in interface BlockItem
        Overrides:
        stringValue in class WordItem