- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for setDocAsUpsert (0.06 sec)
-
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java
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) -
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()); client.admin().indices().prepareRefresh().setIndices(actualIndex).execute().actionGet(settings.getIndicesTimeout());
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 10.9K bytes - Viewed (0)