Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for UpdateRequestBuilder (0.19 sec)

  1. src/main/java/org/codelibs/fess/helper/SearchHelper.java

        }
    
        public boolean update(final String id, final Consumer<UpdateRequestBuilder> builderLambda) {
            try {
                final FessConfig fessConfig = ComponentUtil.getFessConfig();
                final UpdateRequestBuilder builder =
                        ComponentUtil.getSearchEngineClient().prepareUpdate().setIndex(fessConfig.getIndexDocumentUpdateIndex()).setId(id);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/score/ScoreBooster.java

    import org.opensearch.action.bulk.BulkRequestBuilder;
    import org.opensearch.action.bulk.BulkResponse;
    import org.opensearch.action.search.SearchResponse;
    import org.opensearch.action.update.UpdateRequestBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.script.Script;
    import org.opensearch.script.ScriptType;
    import org.opensearch.search.SearchHit;
    
    public abstract class ScoreBooster {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

    import org.opensearch.action.bulk.BulkResponse;
    import org.opensearch.action.search.SearchResponse;
    import org.opensearch.action.support.WriteRequest.RefreshPolicy;
    import org.opensearch.action.update.UpdateRequestBuilder;
    import org.opensearch.common.unit.TimeValue;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.search.SearchHit;
    import org.opensearch.search.SearchHits;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

            client.update(request, listener);
        }
    
        @Override
        public UpdateRequestBuilder prepareUpdate() {
            return client.prepareUpdate();
        }
    
        @Override
        public UpdateRequestBuilder prepareUpdate(final String index, final String id) {
            return client.prepareUpdate(index, id);
        }
    
        @Override
    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/es/user/allcommon/EsAbstractBehavior.java

                    }
                    bulkBuilder.add((IndexRequestBuilder) builder);
                } else if (builder instanceof UpdateRequestBuilder) {
                    if (builderEntityCall != null) {
                        builderEntityCall.callback(builder);
                    }
                    bulkBuilder.add((UpdateRequestBuilder) builder);
                } else if (builder instanceof DeleteRequestBuilder) {
                    if (builderEntityCall != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java

                    }
                    bulkBuilder.add((IndexRequestBuilder) builder);
                } else if (builder instanceof UpdateRequestBuilder) {
                    if (builderEntityCall != null) {
                        builderEntityCall.callback(builder);
                    }
                    bulkBuilder.add((UpdateRequestBuilder) builder);
                } else if (builder instanceof DeleteRequestBuilder) {
                    if (builderEntityCall != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractBehavior.java

                    }
                    bulkBuilder.add((IndexRequestBuilder) builder);
                } else if (builder instanceof UpdateRequestBuilder) {
                    if (builderEntityCall != null) {
                        builderEntityCall.callback(builder);
                    }
                    bulkBuilder.add((UpdateRequestBuilder) builder);
                } else if (builder instanceof DeleteRequestBuilder) {
                    if (builderEntityCall != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            }
        }
    
        public long updateByQuery(final String index, final Function<SearchRequestBuilder, SearchRequestBuilder> option,
                final BiFunction<UpdateRequestBuilder, SearchHit, UpdateRequestBuilder> builder) {
    
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            SearchResponse response = option.apply(client.prepareSearch(index).setScroll(scrollForUpdate).setSize(sizeForUpdate)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
Back to top