Package it.unimi.di.big.mg4j.query.nodes
Interface QueryTransformer
-
- All Known Implementing Classes:
AbstractTermExpander,MultiIndexTermExpander
public interface QueryTransformerA strategy for transforming queries.Instances of this class represent query transformation that are applied at the structural level—that is, when the query has already been parsed and turned into a composite
Queryobject.If your only need it to replace terms, for instance, for query expansion, you can subclass from
AbstractTermExpander, which just requires specifying how to expand a term or a prefix.