Search in sources :

Example 1 with TestingFilter

use of de.tblsoft.solr.pipeline.filter.TestingFilter in project solr-cmd-utils by tblsoft.

the class AbstractFilterTest method before.

@Before
public void before() {
    outputDocumentList.clear();
    inputDocument = DocumentBuilder.document().create();
    filterConfig = new Filter();
    testingFilter = null;
}
Also used : TestingFilter(de.tblsoft.solr.pipeline.filter.TestingFilter) LastFilter(de.tblsoft.solr.pipeline.filter.LastFilter) Filter(de.tblsoft.solr.pipeline.bean.Filter) Before(org.junit.Before)

Example 2 with TestingFilter

use of de.tblsoft.solr.pipeline.filter.TestingFilter in project solr-cmd-utils by tblsoft.

the class AbstractFilterTest method initFilter.

FilterIF initFilter() {
    FilterIF filter = PipelineExecuter.createFilterInstance(filterConfig);
    this.testingFilter = new TestingFilter();
    testingFilter.setNextFilter(new LastFilter());
    filter.setNextFilter(testingFilter);
    filter.init();
    return filter;
}
Also used : TestingFilter(de.tblsoft.solr.pipeline.filter.TestingFilter) FilterIF(de.tblsoft.solr.pipeline.FilterIF) LastFilter(de.tblsoft.solr.pipeline.filter.LastFilter)

Aggregations

LastFilter (de.tblsoft.solr.pipeline.filter.LastFilter)2 TestingFilter (de.tblsoft.solr.pipeline.filter.TestingFilter)2 FilterIF (de.tblsoft.solr.pipeline.FilterIF)1 Filter (de.tblsoft.solr.pipeline.bean.Filter)1 Before (org.junit.Before)1