- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for matchExpression (0.1 seconds)
-
src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java
*/ public boolean match(final Map<String, Object> map) { if (map == null || map.isEmpty() || matchExpression == null) { return false; } final Object value = ComponentUtil.getScriptEngineFactory().getScriptEngine(scriptType).evaluate(matchExpression, map); if (value instanceof Boolean) { return (Boolean) value; } return false; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 5.2K bytes - Click Count (0) -
src/main/webapp/WEB-INF/env/crawler/resources/app.xml
<property name="threadDump">false</property> <postConstruct name="addBoostDocumentRule"> <arg> <component class="org.codelibs.fess.indexer.BoostDocumentRule"> <property name="matchExpression">"url.matches(\".*fess.*\")"</property> <property name="boostExpression">"1000.0"</property> </component> </arg> </postConstruct> --> </component> <component name="crawlerStatsHelper"
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 07 06:19:20 GMT 2024 - 1.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java
assertFalse(docBoostMatcher.match(new HashMap<>())); } @Test public void test_match_nullExpression() { final DocBoostMatcher docBoostMatcher = new DocBoostMatcher(); // matchExpression is null by default final Map<String, Object> map = new HashMap<String, Object>(); map.put("data1", 1); assertFalse(docBoostMatcher.match(map)); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 8.8K bytes - Click Count (0)