Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for convertTermQuery (0.17 sec)

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

                }
                return convertTermQuery(context, termQuery, boost);
            }
            throw new InvalidQueryException(messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY),
                    "Unknown q: " + query.getClass() + " => " + query);
        }
    
        protected QueryBuilder convertTermQuery(final QueryContext context, final TermQuery termQuery, final float boost) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

            final QueryContext queryContext = new QueryContext(text, false);
            final Query query = ComponentUtil.getQueryParser().parse(queryContext.getQueryString());
            QueryBuilder builder = queryCommand.convertTermQuery(queryContext, (TermQuery) query, 1.0f);
            if (text.startsWith("sort:")) {
                assertNull(builder);
            } else {
                logger.info("{} => {}", text, builder.toString());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top