Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for SearchRequestBuilder (0.12 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/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)
  3. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionBean.java

        //                                                                             Builder
        //                                                                             =======
        public abstract SearchRequestBuilder build(SearchRequestBuilder builder);
    
        // ===================================================================================
        //                                                                              Paging
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/QueryHelper.java

            }
        }
    
        protected QueryParser getQueryParser() {
            return ComponentUtil.getQueryParser();
        }
    
        public void processSearchPreference(final SearchRequestBuilder searchRequestBuilder, final OptionalThing<FessUserBean> userBean,
                final String query) {
            userBean.map(user -> {
                if (user.hasRoles(ComponentUtil.getFessConfig().getAuthenticationAdminRolesAsArray())) {
    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. 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/es/user/allcommon/EsAbstractConditionBean.java

        //                                                                             Builder
        //                                                                             =======
        public abstract SearchRequestBuilder build(SearchRequestBuilder builder);
    
        // ===================================================================================
        //                                                                              Paging
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionBean.java

        //                                                                             Builder
        //                                                                             =======
        public abstract SearchRequestBuilder build(SearchRequestBuilder builder);
    
        // ===================================================================================
        //                                                                              Paging
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java

    import org.opensearch.action.delete.DeleteResponse;
    import org.opensearch.action.index.IndexRequestBuilder;
    import org.opensearch.action.index.IndexResponse;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.action.search.SearchResponse;
    import org.opensearch.action.update.UpdateRequestBuilder;
    import org.opensearch.client.Client;
    import org.opensearch.core.action.ActionListener;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractBehavior.java

    import org.opensearch.action.delete.DeleteResponse;
    import org.opensearch.action.index.IndexRequestBuilder;
    import org.opensearch.action.index.IndexResponse;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.action.search.SearchResponse;
    import org.opensearch.action.update.UpdateRequestBuilder;
    import org.opensearch.client.Client;
    import org.opensearch.core.action.ActionListener;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  10. 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)
Back to top