Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for prepareIndex (0.12 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. test-site/app/models/ContentsCreator.java

                    addSubLink(queue, body, request);
    
                    Map<String, Object> source = new HashMap<>();
                    source.put("content", extractHtml(body));
                    ComponentsUtil.runner.client().prepareIndex()
                        .setIndex(ComponentsUtil.contentIndexName)
                        .setType(ComponentsUtil.contentTypeName)
                        .setCreate(true)
                        .setSource(source)
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                    // create
                    response = client.prepareIndex().setIndex(index).setSource(new DocMap(source)).setRefreshPolicy(RefreshPolicy.IMMEDIATE)
                            .setOpType(OpType.CREATE).execute().actionGet(fessConfig.getIndexIndexTimeout());
                } else {
                    // create or update
                    final IndexRequestBuilder builder = client.prepareIndex().setIndex(index).setId(id).setSource(new DocMap(source))
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java

            return response.getResult() == Result.CREATED ? 1 : 0;
        }
    
        protected IndexRequestBuilder createInsertRequest(final EsAbstractEntity esEntity) {
            final IndexRequestBuilder builder = client.prepareIndex().setIndex(asEsIndex()).setSource(toSource(esEntity));
            final String id = esEntity.asDocMeta().id();
            if (id != null) {
                builder.setId(id);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java

            return response.getResult() == Result.CREATED ? 1 : 0;
        }
    
        protected IndexRequestBuilder createInsertRequest(final EsAbstractEntity esEntity) {
            final IndexRequestBuilder builder = client.prepareIndex().setIndex(asEsIndex()).setSource(toSource(esEntity));
            final String id = esEntity.asDocMeta().id();
            if (id != null) {
                builder.setId(id);
            }
    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/config/allcommon/EsAbstractBehavior.java

            return response.getResult() == Result.CREATED ? 1 : 0;
        }
    
        protected IndexRequestBuilder createInsertRequest(final EsAbstractEntity esEntity) {
            final IndexRequestBuilder builder = client.prepareIndex().setIndex(asEsIndex()).setSource(toSource(esEntity));
            final String id = esEntity.asDocMeta().id();
            if (id != null) {
                builder.setId(id);
            }
    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. 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)
  8. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            analyzerMapping.put(FieldNames.ANALYZER_SETTINGS_CONTENTS_ANALYZER, "title_contents_analyzer");
            analyzerMapping.put(FieldNames.ANALYZER_SETTINGS_CONTENTS_READING_ANALYZER, "");
            runner.client().prepareIndex().setIndex(suggester.settings().analyzer().getAnalyzerSettingsIndexName()).setSource(analyzerMapping)
                    .setRefreshPolicy(WriteRequest.RefreshPolicy.WAIT_UNTIL).execute().actionGet();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
Back to top