- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for createDefaultFilterChain (0.22 sec)
-
src/test/java/org/codelibs/fess/query/parser/QueryParserTest.java
QueryParser queryParser = new QueryParser(); Query query = queryParser.createDefaultFilterChain().parse("fess"); assertEquals(TermQuery.class, query.getClass()); assertEquals("_default:fess", ((TermQuery) query).getTerm().toString()); query = queryParser.createDefaultFilterChain().parse("title:fess"); assertEquals(TermQuery.class, query.getClass());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/QueryProcessor.java
} public void addFilter(final Filter filter) { filterList.add(filter); createFilterChain(); } protected void createFilterChain() { FilterChain chain = createDefaultFilterChain(); for (final Filter element : filterList) { chain = appendFilterChain(element, chain); } filterChain = chain; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/parser/QueryParser.java
} public void addFilter(final Filter filter) { filterList.add(filter); createFilterChain(); } protected void createFilterChain() { FilterChain chain = createDefaultFilterChain(); for (final Filter element : filterList) { chain = appendFilterChain(element, chain); } filterChain = chain; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 5.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/QueryProcessorTest.java
public void test_executeWithFilter() { final AtomicBoolean called = new AtomicBoolean(false); QueryProcessor queryProcessor = new QueryProcessor() { protected FilterChain createDefaultFilterChain() { return (context, query, boost) -> { called.set(true); return QueryBuilders.boolQuery(); }; } };
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.5K bytes - Viewed (0)