Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for prepareUpdate (0.09 sec)

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

            if (logger.isDebugEnabled()) {
                logger.debug("Set suggest settings. {} key: {} value: {}", settingsIndexName, key, value);
            }
            try {
                client.prepareUpdate().setIndex(settingsIndexName).setId(settingsId).setDocAsUpsert(true).setDoc(key, value)
                        .setRetryOnConflict(5).execute().actionGet(getIndexTimeout());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/score/ScoreBooster.java

                bulkRequestBuilder = client.prepareBulk();
            }
            final String index = fessConfig.getIndexDocumentUpdateIndex();
            for (final String id : ids) {
                bulkRequestBuilder.add(client.prepareUpdate().setIndex(index).setId(id)
                        .setScript(new Script(ScriptType.INLINE, scriptLang, scriptCode, params)));
            }
            if (bulkRequestBuilder.numberOfActions() > requestCacheSize) {
                flush();
    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/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
        public IndexRequestBuilder prepareIndex(final String index) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.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
        public IndexRequestBuilder prepareIndex(final String index) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

            try {
                final XContentBuilder builder = JsonXContent.contentBuilder().map(source);
                builder.flush();
                client.prepareUpdate().setIndex(actualIndex).setId(id).setDocAsUpsert(true).setDoc(builder).execute()
                        .actionGet(settings.getIndexTimeout());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                        for (final SearchHit searchHit : searchHits) {
                            final UpdateRequestBuilder updateRequest =
                                    c.prepareUpdate().setIndex(index).setId(searchHit.getId()).setDoc(SESSION_ID, newSessionId);
                            builder.add(updateRequest);
                        }
    
                        return builder.execute();
                    });
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchHelper.java

            try {
                final FessConfig fessConfig = ComponentUtil.getFessConfig();
                final UpdateRequestBuilder builder =
                        ComponentUtil.getSearchEngineClient().prepareUpdate().setIndex(fessConfig.getIndexDocumentUpdateIndex()).setId(id);
                builderLambda.accept(builder);
                final UpdateResponse response = builder.execute().actionGet(fessConfig.getIndexIndexTimeout());
    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