no.sesat.search.query.transform
Class ExactMatchQueryTransformer
java.lang.Object
no.sesat.commons.visitor.AbstractReflectionVisitor
no.sesat.search.query.transform.AbstractQueryTransformer
no.sesat.search.query.transform.ExactMatchQueryTransformer
- All Implemented Interfaces:
- no.sesat.commons.visitor.Visitor, QueryTransformer
public final class ExactMatchQueryTransformer
- extends AbstractQueryTransformer
Transforms the query into
titles:^"query"$
Ensures that only an exact match within the titles field is returned.
- Version:
- $Revision: 3359 $
| Fields inherited from class no.sesat.commons.visitor.AbstractReflectionVisitor |
VISIT_METHOD_IMPL |
| Methods inherited from class no.sesat.commons.visitor.AbstractReflectionVisitor |
visit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface no.sesat.commons.visitor.Visitor |
visit |
ExactMatchQueryTransformer
public ExactMatchQueryTransformer(QueryTransformerConfig config)
- Parameters:
config -
visitImpl
public void visitImpl(LeafClause clause)
- Parameters:
clause - The clause to prefix.
visitImpl
public void visitImpl(BinaryClause clause)
- Parameters:
clause - The clause to prefix.
visitImpl
public void visitImpl(UnaryClause clause)
- Parameters:
clause - The clause to prefix.
Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.