Search in sources :

Example 1 with WildcardQueryNodeProcessor

use of org.apache.lucene.queryparser.flexible.standard.processors.WildcardQueryNodeProcessor in project lucene-solr by apache.

the class TestSpanQueryParser method setUp.

@Override
public void setUp() throws Exception {
    super.setUp();
    this.spanProcessorPipeline = new QueryNodeProcessorPipeline();
    this.spanQueryConfigHandler = new SpansQueryConfigHandler();
    this.spansQueryTreeBuilder = new SpansQueryTreeBuilder();
    // set up the processor pipeline
    this.spanProcessorPipeline.setQueryConfigHandler(this.spanQueryConfigHandler);
    this.spanProcessorPipeline.add(new WildcardQueryNodeProcessor());
    this.spanProcessorPipeline.add(new SpansValidatorQueryNodeProcessor());
    this.spanProcessorPipeline.add(new UniqueFieldQueryNodeProcessor());
}
Also used : WildcardQueryNodeProcessor(org.apache.lucene.queryparser.flexible.standard.processors.WildcardQueryNodeProcessor) QueryNodeProcessorPipeline(org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline)

Aggregations

QueryNodeProcessorPipeline (org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline)1 WildcardQueryNodeProcessor (org.apache.lucene.queryparser.flexible.standard.processors.WildcardQueryNodeProcessor)1