public class AnyParser extends SimpleParser
AbstractParser.Submodes
braceLevelURL, environment, indexFacts, language, submodes, tokens
Constructor and Description |
---|
AnyParser(ParserEnvironment environment) |
Modifier and Type | Method and Description |
---|---|
private Item |
addAndFilter(Item root,
Item item) |
private Item |
addNotFilter(Item root,
Item item) |
private Item |
addRankFilter(Item root,
Item item) |
(package private) Item |
applyFilter(Item root,
String filter,
com.yahoo.language.Language queryLanguage,
IndexFacts.Session indexFacts) |
protected Item |
combineItems(Item topLevelItem,
Item item)
Returns the top level item resulting from combining the given top
level item and the new item.
|
private Item |
filterItems(Item root) |
private void |
markAllTermsAsFilters(Item root) |
protected Item |
negativeItem() |
(package private) Item |
parseFilter(String filter,
com.yahoo.language.Language queryLanguage,
IndexFacts.Session indexFacts) |
(package private) Item |
parseFilter(String filter,
com.yahoo.language.Language queryLanguage,
Set<String> searchDefinitions) |
protected Item |
parseItems() |
anyItems, handleComposite, positiveItem
compositeItem, indexableItem, setSubmodeFromIndex
normalize, parse, parse, segment, setState, simplifyPhrases, tokenize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
parse
public AnyParser(ParserEnvironment environment)
protected Item parseItems()
parseItems
in class AbstractParser
Item parseFilter(String filter, com.yahoo.language.Language queryLanguage, Set<String> searchDefinitions)
Item parseFilter(String filter, com.yahoo.language.Language queryLanguage, IndexFacts.Session indexFacts)
protected Item negativeItem()
negativeItem
in class SimpleParser
protected Item combineItems(Item topLevelItem, Item item)
combineItems
in class SimpleParser
Item applyFilter(Item root, String filter, com.yahoo.language.Language queryLanguage, IndexFacts.Session indexFacts)
private void markAllTermsAsFilters(Item root)
Copyright © 2018. All rights reserved.