Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for SearchRequestBuilder (0.14 sec)

  1. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

        }
    
        protected SearchCondition<SearchRequestBuilder> createSearchCondition(final String query, final SearchRequestParams params,
                final OptionalThing<FessUserBean> userBean) {
            return searchRequestBuilder -> {
                ComponentUtil.getQueryHelper().processSearchPreference(searchRequestBuilder, userBean, query);
                return SearchConditionBuilder.builder(searchRequestBuilder).query(query).offset(params.getStartPosition())
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 06:56:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            public static SearchConditionBuilder builder(final SearchRequestBuilder searchRequestBuilder) {
                return new SearchConditionBuilder(searchRequestBuilder);
            }
    
            SearchConditionBuilder(final SearchRequestBuilder searchRequestBuilder) {
                this.searchRequestBuilder = searchRequestBuilder;
            }
    
            public Map<String, Object> condition() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

                @Override
                public OptionalEntity<Map<String, Object>> getDocument(final String index,
                        final SearchCondition<SearchRequestBuilder> condition) {
                    final SearchRequestBuilder builder = new SearchRequestBuilder(this, SearchAction.INSTANCE);
                    condition.build(builder);
                    resultMap.put("index", index);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 08:54:24 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

        }
    
        public List<OpenSearchAccessResult> getAccessResultList(final Consumer<SearchRequestBuilder> callback) {
            final SearchResponse response = getClient().get(c -> {
                final SearchRequestBuilder builder = c.prepareSearch(index);
                callback.accept(builder);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            }
        }
    
        public int getCount(final Consumer<SearchRequestBuilder> callback) {
            final TotalHits totalHits = getClient().get(c -> {
                final SearchRequestBuilder builder = c.prepareSearch(index).setSize(0).setTrackTotalHits(true);
                callback.accept(builder);
                return builder.execute();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                    searchRequestBuilder -> {
                        final QueryHelper queryHelper = ComponentUtil.getQueryHelper();
                        final QueryFieldConfig queryFieldConfig = ComponentUtil.getQueryFieldConfig();
                        queryHelper.processSearchPreference(searchRequestBuilder, userBean, query);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

    import org.codelibs.fess.suggest.entity.SuggestItem;
    import org.codelibs.fess.suggest.exception.SuggesterException;
    import org.codelibs.fess.suggest.request.Request;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.action.search.SearchResponse;
    import org.opensearch.client.Client;
    import org.opensearch.common.lucene.search.function.CombineFunction;
    import org.opensearch.core.action.ActionListener;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

    import org.codelibs.fess.suggest.exception.SuggesterException;
    import org.codelibs.fess.suggest.normalizer.Normalizer;
    import org.codelibs.fess.suggest.request.Request;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.action.search.SearchResponse;
    import org.opensearch.client.Client;
    import org.opensearch.common.lucene.search.function.CombineFunction;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.suggest.settings.SuggestSettings;
    import org.codelibs.fess.suggest.util.SuggestUtil;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.action.search.SearchResponse;
    import org.opensearch.client.Client;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                    searchEngineClient.getDocumentList(fessConfig.getIndexDocumentSearchIndex(), searchRequestBuilder -> {
                        searchRequestBuilder.setQuery(
                                QueryBuilders.termsQuery(docIdField, deleteFileMap.keySet().toArray(new String[deleteFileMap.size()])));
                        searchRequestBuilder.setFetchSource(new String[] { docIdField }, StringUtil.EMPTY_STRINGS);
                        return true;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top