Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for buildMatchPhraseQuery (0.3 sec)

  1. src/main/java/org/codelibs/fess/query/PhraseQueryCommand.java

                return buildDefaultQueryBuilder(fessConfig, context, (f, b) -> buildMatchPhraseQuery(f, text).boost(b * boost));
            }
    
            if (isSearchField(field)) {
                context.addFieldLog(field, text);
                stream(texts).of(stream -> stream.forEach(t -> context.addHighlightedQuery(t)));
                return buildMatchPhraseQuery(field, text);
            }
    
            context.addFieldLog(Constants.DEFAULT_FIELD, text);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

                final float boost, final String field, final String text) {
            context.addFieldLog(field, text);
            context.addHighlightedQuery(text);
            return buildMatchPhraseQuery(field, text).boost(boost);
        }
    
        protected QueryBuilder convertKeywordQuery(final FessConfig fessConfig, final QueryContext context, final TermQuery termQuery,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/query/QueryCommandTest.java

            assertQueryBuilder("content", "아아", MatchPhraseQueryBuilder.class);
        }
    
        private void assertQueryBuilder(String field, String value, Class<?> clazz) {
            QueryBuilder queryBuilder = queryCommand.buildMatchPhraseQuery(field, value);
            assertEquals(clazz, queryBuilder.getClass());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/QueryCommand.java

                boolQuery.minimumShouldMatch(minimumShouldMatch);
            }
            return new DefaultQueryBuilder(boolQuery);
        }
    
        protected QueryBuilder buildMatchPhraseQuery(final String f, final String text) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            if (text == null || text.length() != 1
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top