Package com.yahoo.prelude.query
Class QueryCanonicalizer
- java.lang.Object
-
- com.yahoo.prelude.query.QueryCanonicalizer
-
public class QueryCanonicalizer extends Object
Query normalizer and sanity checker.- Author:
- bratseth
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QueryCanonicalizer.CanonicalizationResult
-
Field Summary
Fields Modifier and Type Field Description static String
queryCanonicalization
The name of the operation performed by this, for use in search chain ordering
-
Constructor Summary
Constructors Constructor Description QueryCanonicalizer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
canonicalize(Query query)
Validates this query and carries out possible operations on this query which simplifies it without changing its semantics.static String
canonicalize(QueryTree query)
Canonicalizes this query
-
-
-
Field Detail
-
queryCanonicalization
public static final String queryCanonicalization
The name of the operation performed by this, for use in search chain ordering- See Also:
- Constant Field Values
-
-