Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for DefaultQueryBuilder (0.21 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: Mon Oct 28 08:04:08 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: Mon Oct 28 08:04:08 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/TermQueryCommandTest.java

                    return queryType;
                }
            });
        }
    
        public void test_convertTermQuery() throws Exception {
            setQueryType("bool");
            assertQueryBuilder(DefaultQueryBuilder.class,
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. 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: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top