Class ExactStringItem

All Implemented Interfaces:
BlockItem, HasIndexItem, IndexedItem, TaggableItem, Cloneable

public class ExactStringItem extends WordItem
Used to signal that this term requires exact match if the backend supports it.
Author:
baldersheim
  • Constructor Details

    • ExactStringItem

      public ExactStringItem(String substring)
    • ExactStringItem

      public ExactStringItem(String substring, boolean isFromQuery)
  • Method Details

    • getItemType

      public Item.ItemType getItemType()
      Description copied from class: Item
      Return the enumerated type of this item.
      Overrides:
      getItemType in class WordItem
    • getName

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

      public 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