Interface CustomParser

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      Item parse​(java.lang.String queryToParse, java.lang.String filterToParse, com.yahoo.language.Language parsingLanguage, IndexFacts.Session indexFacts, java.lang.String defaultIndexName)  
      default Item parse​(java.lang.String queryToParse, java.lang.String filterToParse, com.yahoo.language.Language parsingLanguage, java.util.Set<java.lang.String> toSearch, IndexFacts indexFacts, java.lang.String defaultIndexName)
      Returns the raw result from parsing, not wrapped in a QueryTree instance.
      • Methods inherited from interface com.yahoo.search.query.parser.Parser

        parse
    • Method Detail

      • parse

        default Item parse​(java.lang.String queryToParse,
                           java.lang.String filterToParse,
                           com.yahoo.language.Language parsingLanguage,
                           java.util.Set<java.lang.String> toSearch,
                           IndexFacts indexFacts,
                           java.lang.String defaultIndexName)
        Returns the raw result from parsing, not wrapped in a QueryTree instance. This may also be null, as opposed to using Parser.parse(com.yahoo.search.query.parser.Parsable).
      • parse

        Item parse​(java.lang.String queryToParse,
                   java.lang.String filterToParse,
                   com.yahoo.language.Language parsingLanguage,
                   IndexFacts.Session indexFacts,
                   java.lang.String defaultIndexName)