Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for DefaultQueryBuilder (0.12 sec)

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

    import org.opensearch.index.query.QueryRewriteContext;
    import org.opensearch.index.query.QueryShardContext;
    
    public class DefaultQueryBuilder implements QueryBuilder {
    
        private final QueryBuilder queryBuilder;
    
        private final QueryType queryType;
    
        public DefaultQueryBuilder(final QueryBuilder queryBuilder) {
            this.queryBuilder = queryBuilder;
            if (queryBuilder instanceof BoolQueryBuilder) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/query/QueryCommand.java

                    (String[]) request.getAttribute(Constants.REQUEST_LANGUAGES)));
        }
    
        protected DefaultQueryBuilder buildDefaultQueryBuilder(final FessConfig fessConfig, final QueryContext context,
                final DefaultQueryBuilderFunction builder) {
            final DefaultQueryBuilder defaultQuery = createDefaultQueryBuilder();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/query/DefaultQueryBuilderTest.java

        public void test_invalid_null() {
            try {
                new DefaultQueryBuilder(null);
                fail();
            } catch (IllegalArgumentException e) {
                // nothing
            }
        }
    
        public void test_invalid_query() {
            try {
                new DefaultQueryBuilder(QueryBuilders.matchAllQuery());
                fail();
            } catch (IllegalArgumentException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

                    return queryType;
                }
            });
        }
    
        public void test_convertTermQuery() throws Exception {
            setQueryType("bool");
            assertQueryBuilder(DefaultQueryBuilder.class,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. 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);
            final DefaultQueryBuilder defaultQuery =
                    buildDefaultQueryBuilder(fessConfig, context, (f, b) -> buildMatchPhraseQuery(f, text).boost(b * boost));
            final Integer fuzzyMinLength = fessConfig.getQueryBoostFuzzyMinLengthAsInteger();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top