- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 202 for DOCUMENTS (0.06 seconds)
-
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 againstCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 26.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/LlmClient.java
/** * Generates a summary of the specified documents. * * @param userMessage the user's message * @param documents the documents to summarize * @param history the conversation history * @param callback the streaming callback */ void generateSummaryResponse(String userMessage, List<Map<String, Object>> documents, List<LlmMessage> history, LlmStreamCallback callback);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 07:04:54 GMT 2026 - 7.3K bytes - Click Count (0) -
MIGRATION.md
#### Document Migration **Step 1: Export from Source** Export documents from your existing Elasticsearch/OpenSearch cluster: ```bash # Using elasticdump elasticdump \ --input=http://old-es-server:9200/my-index \ --output=documents.json \ --type=data ``` **Step 2: Convert to Fess Format** Transform documents to include Fess required fields. Example transformation script: ```python
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) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexResponse.java
* This class contains information about the number of suggest documents, * the number of input documents, any errors that occurred during the operation, * and the time taken to complete the operation. */ public class SuggestIndexResponse implements Response { /** The number of suggest documents. */ protected final int numberOfSuggestDocs; /** The number of input documents. */ protected final int numberOfInputDocs;Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 3.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java
doc.put("role", "Rguest"); documents.add(doc); } requestBody.put("documents", documents); // Execute bulk create checkMethodBase(requestBody).put(API_PATH + "/" + BULK_ENDPOINT).then().body("response.status", equalTo(0)); refresh(); // Verify documents were created final Map<String, Object> searchBody = new HashMap<>();
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) -
src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java
public IndexUpdateCallbackImpl() { // Default constructor } /** Atomic counter for the number of documents processed */ protected AtomicLong documentSize = new AtomicLong(0); /** Total execution time for all operations */ protected volatile long executeTime = 0; /** List of documents waiting to be indexed */ protected final DocList docList = new DocList();
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) -
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) -
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>Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 19K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
/** * <p> * {@link ESSourceReader} reads documents from Elasticsearch using the scroll API. * It implements the {@link DocumentReader} interface to provide a way to iterate over documents * in a large index without loading all of them into memory at once. * </p> * * <p> * The reader supports limiting the number of documents read based on a percentage of the total documentsCreated: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 11.1K bytes - Click Count (0) -
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)