Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setUid (0.1 sec)

  1. 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)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchUrlFilter.java

        private String id;
    
        private String sessionId;
    
        private String filterType;
    
        private String url;
    
        public String getId() {
            return id;
        }
    
        public void setId(final String id) {
            this.id = id;
        }
    
        public String getSessionId() {
            return sessionId;
        }
    
        public void setSessionId(final String sessionId) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. 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)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                        target.setCreateTime(getFieldValue(fields.get("createTime"), Long.class));
                        target.setLastModified(getFieldValue(fields.get("lastModified"), Long.class));
    
                        setId(target, searchHit.getId());
                        targetList.add(target);
                    }
                } catch (final Exception e) {
                    throw new OpenSearchAccessException("response: " + response, e);
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

                        final BulkRequestBuilder bulkRequest = client.prepareBulk();
                        for (final SearchHit hit : hits) {
                            bulkRequest.add(client.prepareDelete().setIndex(hit.getIndex()).setId(hit.getId()));
                        }
                        return bulkRequest.execute();
                    });
                    if (bulkResponse.hasFailures()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top