querqy.lucene.JsonQueryParsingController Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of querqy-lucene Show documentation
Show all versions of querqy-lucene Show documentation
Querqy library for query rewriting for Lucene
The newest version!
package querqy.lucene;
import querqy.model.ExpandedQuery;
import querqy.model.convert.builder.ExpandedQueryBuilder;
import java.util.Map;
public class JsonQueryParsingController extends QueryParsingController {
private final Map request;
public JsonQueryParsingController(final Map request, final LuceneSearchEngineRequestAdapter requestAdapter) {
super(requestAdapter);
this.request = request;
}
@Override
public ExpandedQuery createExpandedQuery() {
final ExpandedQueryBuilder expanded = new ExpandedQueryBuilder(request);
return expanded.build();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy