Package com.yahoo.prelude.query.parser
Interface CustomParser
-
- All Superinterfaces:
Parser
- All Known Implementing Classes:
AbstractParser
,AdvancedParser
,AllParser
,AnyParser
,PhraseParser
,ProgrammaticParser
,WebParser
public interface CustomParser extends Parser
- Author:
- Simon Thoresen Hult
-
-
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.
-
-
-
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 usingParser.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)
-
-