Uses of Class
com.yahoo.search.query.QueryType
Packages that use QueryType
Package
Description
The search query model
Provides access to parsing query strings into queries
-
Uses of QueryType in com.yahoo.search.query
Methods in com.yahoo.search.query that return QueryTypeModifier and TypeMethodDescriptionstatic QueryTypeQueryType.from(Query.Type type) static QueryTypeReturns the query type given by this string, or the default type (WEAKAND) if the given type is null.Model.getQueryType()Returns the detailed query type of for this query.QueryType.setComposite(QueryType.Composite composite) Sets the composite type terms should be collected as by default.QueryType.setComposite(String composite) Sets the composite value from a string enum value.QueryType.setSyntax(QueryType.Syntax syntax) Sets the query syntax used in this query.Sets the syntax from a string enum value.QueryType.setTokenization(QueryType.Tokenization tokenization) Sets whether this should use internal tokenization, or delegate this to the linguistics component.QueryType.setTokenization(String tokenization) Sets tokenization from a string enum value.QueryType.setYqlDefault(boolean isYqlDefault) Sets whether this query type should be used as the default 'grammar' settings when parsing YQL user queries.Methods in com.yahoo.search.query with parameters of type QueryType -
Uses of QueryType in com.yahoo.search.query.parser
Methods in com.yahoo.search.query.parser that return QueryTypeMethods in com.yahoo.search.query.parser with parameters of type QueryTypeModifier and TypeMethodDescriptionstatic ParserParserFactory.newInstance(QueryType type, ParserEnvironment environment) Creates aParserappropriate for the givenQuery.Type, providing the Parser with access to theParserEnvironmentgiven.