Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for prepareGet (0.11 sec)

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

            boolean doIndexCreate = false;
            boolean doCreate = false;
            try {
                final GetResponse getResponse =
                        client.prepareGet().setIndex(settingsIndexName).setId(settingsId).execute().actionGet(getSearchTimeout());
    
                if (!getResponse.isExists()) {
                    doCreate = true;
                }
    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. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

            client.get(request, listener);
        }
    
        @Override
        public GetRequestBuilder prepareGet() {
            return client.prepareGet();
        }
    
        @Override
        public GetRequestBuilder prepareGet(final String index, final String id) {
            return client.prepareGet(index, id);
        }
    
        @Override
        public ActionFuture<MultiGetResponse> multiGet(final MultiGetRequest request) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java

            if (mergedItems.length == 0) {
                return new SuggestWriterResult();
            }
    
            for (final SuggestItem item : mergedItems) {
                final GetResponse getResponse = client.prepareGet().setIndex(index).setId(item.getId()).get(TimeValue.timeValueSeconds(30));
                if (update && getResponse.isExists()) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

        }
    
        protected boolean exists(final String sessionId, final String url) {
            final String id = getId(sessionId, url);
            try {
                final GetResponse response = getClient().get(c -> c.prepareGet(index, id).execute());
                return response.isExists();
            } catch (final Exception e) {
                throw new OpenSearchAccessException("Failed to check if " + sessionId + ":" + url + " exists.", e);
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            client.get(request, listener);
        }
    
        @Override
        public GetRequestBuilder prepareGet() {
            return client.prepareGet();
        }
    
        @Override
        public GetRequestBuilder prepareGet(final String index, final String id) {
            return client.prepareGet(index, id);
        }
    
        @Override
    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