Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getOccur (0.07 sec)

  1. src/test/java/org/codelibs/fess/query/parser/QueryParserTest.java

            assertEquals("_default:fess", clauses.get(0).getQuery().toString());
            assertEquals(Occur.MUST, clauses.get(0).getOccur());
            assertEquals(TermQuery.class, clauses.get(1).getQuery().getClass());
            assertEquals("_default:codelibs", clauses.get(1).getQuery().toString());
            assertEquals(Occur.MUST, clauses.get(1).getOccur());
    
            query = queryParser.createDefaultFilterChain().parse("fess AND codelibs");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/query/BooleanQueryCommand.java

                final QueryBuilder queryBuilder = getQueryProcessor().execute(context, clause.getQuery(), boost);
                if (queryBuilder != null) {
                    switch (clause.getOccur()) {
                    case MUST:
                        boolQuery.must(queryBuilder);
                        break;
                    case SHOULD:
                        boolQuery.should(queryBuilder);
                        break;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top