Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for prepareIndex (0.08 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

        public void index(final IndexRequest request, final ActionListener<IndexResponse> listener) {
            client.index(request, listener);
        }
    
        @Override
        public IndexRequestBuilder prepareIndex() {
            return client.prepareIndex();
        }
    
        @Override
        public ActionFuture<UpdateResponse> update(final UpdateRequest request) {
            return client.update(request);
        }
    
        @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)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            }
            final String id = getId(getSessionId(target), url);
            try (final XContentBuilder source = getXContentBuilder(target)) {
                final IndexResponse response = getClient().get(c -> c.prepareIndex().setIndex(index).setId(id).setSource(source)
                        .setOpType(opType).setRefreshPolicy(RefreshPolicy.IMMEDIATE).execute());
                setId(target, id);
                return response;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top