Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for termQuery (0.08 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

            insertAll(accessResultList, OpType.INDEX);
        }
    
        @Override
        public int getCount(final String sessionId) {
            return getCount(builder -> builder.setQuery(QueryBuilders.termQuery(SESSION_ID, sessionId)));
        }
    
        @Override
        public void delete(final String sessionId) {
            deleteBySessionId(sessionId);
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

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

            } else {
                queryBuilder.must(QueryBuilders.termQuery(FieldNames.ROLES, SuggestConstants.DEFAULT_ROLE));
            }
            if (!fields.isEmpty()) {
                queryBuilder.must(QueryBuilders.termsQuery(FieldNames.FIELDS, fields));
            }
            if (!languages.isEmpty()) {
                queryBuilder.must(QueryBuilders.termsQuery(FieldNames.LANGUAGES, languages));
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. 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)
  5. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

    import java.math.BigDecimal;
    import java.util.List;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.apache.lucene.search.Query;
    import org.apache.lucene.search.TermQuery;
    import org.codelibs.fess.entity.QueryContext;
    import org.codelibs.fess.exception.InvalidQueryException;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.query.parser.QueryParser;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

            return asJson(new ApiDocResponse().doc(searchEngineClient.getDocument(fessConfig.getIndexDocumentUpdateIndex(), builder -> {
                builder.setQuery(QueryBuilders.termQuery(fessConfig.getIndexFieldDocId(), id));
                return true;
            }).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id));
                return null;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                final BoolQueryBuilder queryBuilder = QueryBuilders.boolQuery()//
                        .must(QueryBuilders.termQuery(fessConfig.getIndexFieldConfigId(), dataConfig.getConfigId()))//
                        .mustNot(QueryBuilders.termQuery(fessConfig.getIndexFieldSegment(), sessionId));
                if (!Constants.FALSE.equals(initParamMap.getAsString(KEEP_EXPIRES_DOCS))) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

            try {
                SearchResponse response = client.prepareSearch().setIndices(actualIndex).setScroll(settings.getScrollTimeout())
                        .setQuery(QueryBuilders.termQuery(FieldNames.ARRAY_KEY, key)).setSize(500).execute()
                        .actionGet(settings.getSearchTimeout());
                String scrollId = response.getScrollId();
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/score/ScoreBooster.java

            final Object url = params.get("url");
            if (url == null) {
                return StringUtil.EMPTY_STRINGS;
            }
            final SearchResponse response = client.prepareSearch(index).setQuery(QueryBuilders.termQuery(fessConfig.getIndexFieldUrl(), url))
                    .setFetchSource(false).setSize(fessConfig.getPageScoreBoosterMaxFetchSizeAsInteger()).execute().actionGet(requestTimeout);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top