Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 351 for documents (0.19 seconds)

  1. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

            }
        }
    
        /**
         * Deletes old documents that have the same URL but different document IDs
         * as the documents in the provided list. This prevents duplicate documents
         * from accumulating in the index.
         *
         * @param searchEngineClient the search engine client to use for deletion
         * @param docList the list of new documents to check against
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  2. MIGRATION.md

    - [ ] Set up authentication and user roles
    
    ### Data Migration
    
    - [ ] Export documents from current system
    - [ ] Transform documents to Fess format
    - [ ] Validate NDJSON format
    - [ ] Import documents via Admin UI or API
    - [ ] Verify document count after import
    - [ ] Test search queries on migrated data
    - [ ] Configure document boost/relevance (if needed)
    
    ### Search Integration
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 12:40:11 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java

                doc.put("role", "Rguest");
                documents.add(doc);
            }
    
            requestBody.put("documents", documents);
    
            // Execute bulk update
            checkMethodBase(requestBody).put(API_PATH + "/" + BULK_ENDPOINT).then().body("response.status", equalTo(0));
            refresh();
    
            // Verify documents were updated
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

                logger.debug("Total documents added: {}", documentSize.get());
            }
    
        }
    
        /**
         * Processes a document through the ingest pipeline.
         * Applies all available ingesters to transform the document data.
         *
         * @param paramMap the data store parameters
         * @param dataMap the document data to process
         * @return the processed document data
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerErrorHandlingTest.java

            Map<String, Object>[] documents = new Map[1];
            documents[0] = new HashMap<>();
            // Document doesn't contain the supported field
            documents[0].put("other_field", "some content");
    
            SuggestIndexResponse response = suggester.indexer().indexFromDocument(documents);
    
            assertNotNull(response);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

            }
    
            /**
             * Deletes old documents from the search index.
             * This method removes documents that were indexed in previous
             * crawling sessions for the same data configuration, keeping
             * only the documents from the current session.
             *
             * <p>The deletion process:</p>
             * <ul>
             *   <li>Checks if old document deletion is enabled</li>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

     * reader.setScrollSize(1000); // Set the scroll size
     * reader.setLimitOfDocumentSize(1024 * 1024); // Limit document size to 1MB
     * reader.setQuery(QueryBuilders.termQuery("field", "value")); // Set a query
     *
     * Map<String, Object> document;
     * while ((document = reader.read()) != null) {
     *     // Process the document
     *     System.out.println(document);
     * }
     *
     * reader.close(); // Close the reader to release resources
     * }
     * </pre>
     */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/index/operations/ContentIndexingOperations.java

                }
                throw new SuggestIndexException("Failed to index from documents: index=" + index + ", documentCount=" + documents.length, e);
            }
        }
    
        /**
         * Indexes documents from an array of maps.
         *
         * @param index The index name
         * @param documents The documents to index
         * @param supportedFields The supported fields
         * @param tagFieldNames The tag field names
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 21.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/it/search/FavoritesApiTests.java

    import io.restassured.response.Response;
    
    /**
     * Integration tests for the Favorites API (/api/v1/favorites and /api/v1/documents/{docId}/favorite)
     * This test requires crawled documents and favorites feature to be properly configured
     */
    @Tag("it")
    @Disabled("Requires favorites feature to be enabled and crawled documents")
    public class FavoritesApiTests extends CrawlTestBase {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorErrorHandlingTest.java

                processor.init();
    
                // Should handle null documents gracefully
                final List<Map<String, Object>> results = processor.search("*", new TestSearchRequestParams(0, 10, 0), OptionalThing.empty());
                assertNotNull(results);
            }
        }
    
        /**
         * Test handling of documents with missing ID field.
         */
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.3K bytes
    - Click Count (0)
Back to Top