Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for BoolQueryBuilder (0.17 sec)

  1. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            }
    
            if (filterList.size() > 0) {
                final BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery();
                boolQueryBuilder.must(queryBuilder);
                filterList.forEach(boolQueryBuilder::filter);
                builder.setQuery(boolQueryBuilder);
            } else {
                builder.setQuery(queryBuilder);
            }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            final BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery();
            boolQueryBuilder
                    .must(QueryBuilders.rangeQuery(FieldNames.TIMESTAMP).lt(time.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()));
    
            boolQueryBuilder.must(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.DOCUMENT.toString()));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/user/cbean/cq/bs/BsRoleCQ.java

            bool((must, should, mustNot, filter) -> {
                filteredLambda.callback(must, filter);
            }, opLambda);
        }
    
        public void not(OperatorCall<RoleCQ> notLambda) {
            not(notLambda, null);
        }
    
        public void not(final OperatorCall<RoleCQ> notLambda, final ConditionOptionCall<BoolQueryBuilder> opLambda) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/cbean/cq/bs/BsGroupCQ.java

            bool((must, should, mustNot, filter) -> {
                filteredLambda.callback(must, filter);
            }, opLambda);
        }
    
        public void not(OperatorCall<GroupCQ> notLambda) {
            not(notLambda, null);
        }
    
        public void not(final OperatorCall<GroupCQ> notLambda, final ConditionOptionCall<BoolQueryBuilder> opLambda) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsBadWordCQ.java

            bool((must, should, mustNot, filter) -> {
                filteredLambda.callback(must, filter);
            }, opLambda);
        }
    
        public void not(OperatorCall<BadWordCQ> notLambda) {
            not(notLambda, null);
        }
    
        public void not(final OperatorCall<BadWordCQ> notLambda, final ConditionOptionCall<BoolQueryBuilder> opLambda) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsJobLogCQ.java

            bool((must, should, mustNot, filter) -> {
                filteredLambda.callback(must, filter);
            }, opLambda);
        }
    
        public void not(OperatorCall<JobLogCQ> notLambda) {
            not(notLambda, null);
        }
    
        public void not(final OperatorCall<JobLogCQ> notLambda, final ConditionOptionCall<BoolQueryBuilder> opLambda) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 71.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

            assertEquals(2, queryBuilderList.size());
            assertEquals("TermQueryBuilder", queryBuilderList.get(0).getClass().getSimpleName());
            assertEquals("BoolQueryBuilder", queryBuilderList.get(1).getClass().getSimpleName());
            final List<FieldSortBuilder> fieldSortBuilderList = cb.query().getFieldSortBuilderList();
            assertEquals(2, fieldSortBuilderList.size());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsCrawlingInfoParamCQ.java

            bool((must, should, mustNot, filter) -> notLambda.callback(mustNot), opLambda);
        }
    
        public void bool(BoolCall<CrawlingInfoParamCQ> boolLambda) {
            bool(boolLambda, null);
        }
    
        public void bool(BoolCall<CrawlingInfoParamCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 36K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsBoostDocumentRuleCQ.java

            bool((must, should, mustNot, filter) -> notLambda.callback(mustNot), opLambda);
        }
    
        public void bool(BoolCall<BoostDocumentRuleCQ> boolLambda) {
            bool(boolLambda, null);
        }
    
        public void bool(BoolCall<BoostDocumentRuleCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/QueryProcessorTest.java

    import org.apache.lucene.search.Query;
    import org.codelibs.fess.entity.QueryContext;
    import org.codelibs.fess.query.QueryProcessor.FilterChain;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.opensearch.index.query.BoolQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    
    public class QueryProcessorTest extends UnitFessTestCase {
    
        public void test_executeWithFilter() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top