org.compass.core.lucene.engine.queryparser
Class QueryParserUtils
java.lang.Object
org.compass.core.lucene.engine.queryparser.QueryParserUtils
public abstract class QueryParserUtils
- extends Object
- Author:
- kimchy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createPolyAliasQuery
public static Query createPolyAliasQuery(SearchEngineFactory searchEngineFactory,
String value)
- Returns a poly alias query.
andAliasQueryIfNeeded
public static Query andAliasQueryIfNeeded(Query query,
ResourcePropertyLookup lookup,
boolean addAliasQueryWithDotPath,
SearchEngineFactory searchEngineFactory)
- If enabled and allowed, wraps the given query with a boolean query that adds a must match on the alias).
visit
public static Query visit(Query query,
QueryParserUtils.QueryTermVisitor visitor)
throws SearchEngineException
- Throws:
SearchEngineException
Copyright (c) 2004-2008 The Compass Project.