Class AllLowercasingSearcher

java.lang.Object
com.yahoo.component.AbstractComponent
com.yahoo.component.chain.ChainedComponent
com.yahoo.processing.Processor
com.yahoo.search.Searcher
com.yahoo.search.querytransform.LowercasingSearcher
com.yahoo.search.querytransform.AllLowercasingSearcher
All Implemented Interfaces:
com.yahoo.component.chain.model.Chainable, com.yahoo.component.Component, com.yahoo.component.Deconstructable, Comparable<com.yahoo.component.Component>

public class AllLowercasingSearcher extends LowercasingSearcher
Transform all terms in the incoming query tree and highlight terms to lower case. This searcher is a compatibility layer for customers needing to use FSAs created for pre-5.1 systems.

Add this searcher to your search chain before any searcher running case-dependent automata with only lowercased contents, query transformers assuming lowercased input etc. Refer to the Vespa documentation on search chains and search chain ordering.

Author:
Steinar Knutsen
  • Field Summary

    Fields inherited from class com.yahoo.component.AbstractComponent

    isDeconstructable
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Override this to control whether a given term should be lowercased.
    boolean
    shouldLowercase(String commonPath, WordItem word, IndexFacts.Session settings)
     

    Methods inherited from class com.yahoo.search.querytransform.LowercasingSearcher

    search

    Methods inherited from class com.yahoo.search.Searcher

    ensureFilled, fill, getLogger, process, toString

    Methods inherited from class com.yahoo.component.chain.ChainedComponent

    getDependencies, initDependencies

    Methods inherited from class com.yahoo.component.AbstractComponent

    clone, compareTo, deconstruct, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.yahoo.component.chain.model.Chainable

    getAnnotatedDependencies