Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for TermQuery (0.12 sec)

  1. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

                                queryList.add(termQuery);
                            }
                        }
                    }
                }
                return queryList;
            }
            if (query instanceof final TermQuery termQuery) {
                for (final String field : fields) {
                    if (field.equals(termQuery.getTerm().field())) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            boolQueryBuilder.must(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.DOCUMENT.toString()));
            boolQueryBuilder.mustNot(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.QUERY.toString()));
            boolQueryBuilder.mustNot(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.USER.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/query/TermQueryCommand.java

            }
            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) {
            final String field = getSearchField(context.getDefaultField(), termQuery.getTerm().field());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

                    continue;
                }
    
                final QueryBuilder queryBuilder = QueryBuilders.boolQuery()
                        .must(QueryBuilders.termQuery(fessConfig.getIndexFieldUrl(), inputDoc.get(fessConfig.getIndexFieldUrl())))
                        .filter(QueryBuilders.termQuery(fessConfig.getIndexFieldConfigId(), configIdValue));
    
                final List<Map<String, Object>> docs = getDocumentListByQuery(searchEngineClient, queryBuilder,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                                readingQueryBuilder.should(QueryBuilders.prefixQuery(fieldName, reading));
                            } else {
                                readingQueryBuilder.should(QueryBuilders.termQuery(fieldName, reading));
                            }
                        }
                        readingList.clear();
                        boolQueryBuilder.must(readingQueryBuilder);
                    }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java

            return boolQuery;
        }
    
        protected TermQueryBuilder regTermQ(String name, Object value) {
            checkEsInvalidQuery(name, value);
            TermQueryBuilder termQuery = QueryBuilders.termQuery(name, value);
            regQ(termQuery);
            return termQuery;
        }
    
        protected TermsQueryBuilder regTermsQ(String name, Collection<?> values) {
            checkEsInvalidQueryCollection(name, values);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java

            return boolQuery;
        }
    
        protected TermQueryBuilder regTermQ(String name, Object value) {
            checkEsInvalidQuery(name, value);
            TermQueryBuilder termQuery = QueryBuilders.termQuery(name, value);
            regQ(termQuery);
            return termQuery;
        }
    
        protected TermsQueryBuilder regTermsQ(String name, Collection<?> values) {
            checkEsInvalidQueryCollection(name, values);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/QueryHelper.java

            final String roleField = fessConfig.getIndexFieldRole();
            roleSet.stream().forEach(name -> roleQuery.should(QueryBuilders.termQuery(roleField, name)));
            final String deniedPrefix = fessConfig.getRoleSearchDeniedPrefix();
            roleSet.stream().forEach(name -> roleQuery.mustNot(QueryBuilders.termQuery(roleField, deniedPrefix + name)));
            boolQuery.filter(roleQuery);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

            return boolQuery;
        }
    
        protected TermQueryBuilder regTermQ(String name, Object value) {
            checkEsInvalidQuery(name, value);
            TermQueryBuilder termQuery = QueryBuilders.termQuery(name, value);
            regQ(termQuery);
            return termQuery;
        }
    
        protected TermsQueryBuilder regTermsQ(String name, Collection<?> values) {
            checkEsInvalidQueryCollection(name, values);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                    if (queryBuilder instanceof BoolQueryBuilder) {
                        ((BoolQueryBuilder) queryBuilder).filter(QueryBuilders.termQuery(SESSION_ID, sessionId));
                    } else {
                        final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery().filter(QueryBuilders.termQuery(SESSION_ID, sessionId));
                        if (queryBuilder != null) {
                            boolQuery.must(queryBuilder);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top