Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 146 for setQuery (0.11 sec)

  1. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

            final Map<String, FieldAnalyzerMapping> mappingMap = new HashMap<>();
            SearchResponse response = client.prepareSearch(analyzerSettingsIndexName)
                    .setQuery(QueryBuilders.termQuery(FieldNames.ANALYZER_SETTINGS_TYPE, FIELD_ANALYZER_MAPPING))
                    .setScroll(settings.getScrollTimeout()).execute().actionGet(settings.getSearchTimeout());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                    final String docIdField = fessConfig.getIndexFieldDocId();
                    searchEngineClient.getDocumentList(fessConfig.getIndexDocumentSearchIndex(), searchRequestBuilder -> {
                        searchRequestBuilder.setQuery(
                                QueryBuilders.termsQuery(docIdField, deleteFileMap.keySet().toArray(new String[deleteFileMap.size()])));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                final SuggestHelper suggestHelper = ComponentUtil.getSuggestHelper();
                final SuggestRequestBuilder builder = suggestHelper.suggester().suggest();
                builder.setQuery(parameter.getQuery());
                stream(parameter.getSuggestFields()).of(stream -> stream.forEach(builder::addField));
                roleQueryHelper.build(SearchRequestType.SUGGEST).stream().forEach(builder::addRole);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

        public int deleteByQuery(final String index, final String type, final QueryBuilder queryBuilder) {
            SearchResponse response =
                    get(c -> c.prepareSearch(index).setScroll(scrollForDelete).setSize(sizeForDelete).setQuery(queryBuilder).execute());
            String scrollId = response.getScrollId();
            int count = 0;
            try {
                while (scrollId != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                                    .filter(QueryBuilders.termQuery(EsAccessResult.STATUS, org.codelibs.fess.crawler.Constants.OK_STATUS));
                    builder.setQuery(queryBuilder);
                    builder.setFrom(0);
                    final int maxDocumentCacheSize = fessConfig.getIndexerWebfsMaxDocumentCacheSizeAsInteger();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            SearchResponse response = client.prepareSearch(index).setScroll(scrollForDelete).setSize(sizeForDelete)
                    .setFetchSource(new String[] { fessConfig.getIndexFieldId() }, null).setQuery(queryBuilder)
                    .setPreference(Constants.SEARCH_PREFERENCE_LOCAL).execute().actionGet(fessConfig.getIndexScrollSearchTimeout());
    
            int count = 0;
            String scrollId = response.getScrollId();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

            assertEquals("\\/", getQuery("/", new String[0], Collections.emptyMap(), Collections.emptyMap(), true));
            assertEquals("aaa\\/bbb", getQuery("aaa/bbb", new String[0], Collections.emptyMap(), Collections.emptyMap(), true));
            assertEquals("\\\\", getQuery("\\", new String[0], Collections.emptyMap(), Collections.emptyMap(), true));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/parser/QueryParserTest.java

            assertEquals(TermQuery.class, clauses.get(0).getQuery().getClass());
            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());
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/user/cbean/cq/bs/BsRoleCQ.java

                    RoleCQ cf = new RoleCQ();
                    cqLambda.callback(cf);
                    list.add(new FilterFunctionBuilder(cf.getQuery(), scoreFunctionBuilder));
                });
            }
            final FunctionScoreQueryBuilder builder = regFunctionScoreQ(cq.getQuery(), list);
            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/BoostQueryCommand.java

                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
                return getQueryProcessor().execute(context, boostQuery.getQuery(), boostQuery.getBoost());
            }
            throw new InvalidQueryException(messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY),
                    "Unknown q: " + query.getClass() + " => " + query);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top