Class ModifiedTermsService

java.lang.Object
de.cxp.ocs.smartsuggest.querysuggester.modified.ModifiedTermsService
All Implemented Interfaces:
org.apache.lucene.util.Accountable

public class ModifiedTermsService extends Object implements org.apache.lucene.util.Accountable
A service that provides mappings of modified (relaxed or sharpened) queries.
  • Constructor Details

    • ModifiedTermsService

      public ModifiedTermsService()
  • Method Details

    • getRelaxedTerm

      public List<String> getRelaxedTerm(String term)
    • getSharpenedTerm

      public List<String> getSharpenedTerm(String term)
    • hasData

      public boolean hasData()
    • ramBytesUsed

      public long ramBytesUsed()
      Specified by:
      ramBytesUsed in interface org.apache.lucene.util.Accountable