Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for addDocument (0.07 sec)

  1. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

        public void test_Read() throws Exception {
            String indexName = "test-index";
            Client client = runner.client();
            SuggestSettings settings = suggester.settings();
            int num = 10000;
    
            addDocument(indexName, client, num);
    
            ESSourceReader reader = new ESSourceReader(client, settings, indexName);
            reader.setScrollSize(1000);
            int count = 0;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

                    doc.put("score", 1.0f / (i + 2));
                    builder.addDocument(doc);
                }
                for (int i = 100; i < inSize + 100; i++) {
                    Map<String, Object> doc = new HashMap<>();
                    doc.put(ID_FIELD, Integer.toString(i));
                    doc.put("score", 1.0f / (mainSize + i + 2));
                    builder.addDocument(doc);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java

            public SearchResultBuilder partialResults(final boolean partialResults) {
                this.partialResults = partialResults;
                return this;
            }
    
            public SearchResultBuilder addDocument(final Map<String, Object> doc) {
                documentList.add(doc);
                return this;
            }
    
            public SearchResultBuilder facetResponse(final FacetResponse facetResponse) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/log/exentity/SearchLog.java

            if (StringUtil.isNotBlank(name) && StringUtil.isNotBlank(value)) {
                headerList.add(new Pair<>(name, value));
            }
        }
    
        public void addDocument(final Map<String, Object> doc) {
            documentList.add(doc);
        }
    
        public void setSearchQuery(final String query) {
            addSearchFieldLogValue(Constants.SEARCH_FIELD_LOG_SEARCH_QUERY, query);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                            || getParamValue(localParams, "event.modify", "modify").equals(eventType)) {
                        // updated file
                        addDocument(localParams, dataMap);
                    } else if (getParamValue(localParams, "event.delete", "delete").equals(eventType)) {
                        // deleted file
                        deleteDocument(localParams, dataMap);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                                }
                            }
                        }
                    }
    
                    builder.addDocument(docMap);
                }
    
                // facet
                final Aggregations aggregations = searchResponse.getAggregations();
                if (aggregations != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 06:56:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                    final Map<String, Object> map = new HashMap<>();
                    Arrays.stream(ComponentUtil.getFessConfig().getLoggingSearchDocsFieldsAsArray()).forEach(s -> map.put(s, res.get(s)));
                    searchLog.addDocument(map);
                });
            }
        }
    
        public void addClickLog(final ClickLog clickLog) {
            clickLogQueue.add(clickLog);
        }
    
        public void storeSearchLog() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

            }
    
            final String password = getPassword(params);
            try (PDDocument document = PDDocument.load(in, password == null ? null : password)) {
                final StringWriter writer = new StringWriter();
                final PDFTextStripper stripper = new PDFTextStripper();
                final AtomicBoolean done = new AtomicBoolean(false);
                final PDDocument doc = document;
                final Set<Exception> exceptionSet = new HashSet<>();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top