- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 137 for DOCUMENTS (0.05 seconds)
-
src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java
if (body.documents == null) { throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, "documents is required.")); } if (body.documents.isEmpty()) { throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, "documents is empty.")); } final String indexFieldId = fessConfig.getIndexFieldId();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 8.3K 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/helper/KeyMatchHelper.java
}); this.keyMatchQueryMap = keyMatchQueryMap; return keyMatchQueryMap.size(); } /** * Retrieves a list of documents based on the KeyMatch query. * * @param keyMatch The KeyMatch instance. * @return A list of documents. */ protected List<Map<String, Object>> getDocumentList(final KeyMatch keyMatch) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 10.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/indexer/IndexUpdater.java
* transforms them into indexed documents, and updates the OpenSearch index. * * <p>The updater performs the following key operations: * <ul> * <li>Retrieves crawled documents from the data service</li> * <li>Transforms document data using appropriate transformers</li> * <li>Applies document boosting rules and click/favorite count enhancements</li> * <li>Sends processed documents to the search engine for indexing</li>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 32.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/LlmClientManager.java
* * @param userMessage the user's message * @param documents the documents with content * @param history the conversation history * @return the chat response * @throws LlmException if LLM is not available */ public LlmChatResponse generateAnswer(final String userMessage, final List<Map<String, Object>> documents, final List<LlmMessage> history) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 11:10:51 GMT 2026 - 17.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java
final List<LlmMessage> history) { if (logger.isDebugEnabled()) { logger.debug("[RAG:ANSWER] generateAnswer. userMessage={}, documentCount={}, historySize={}", userMessage, documents.size(), history.size()); } final String context = buildContext(documents, "answer");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 72K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java
} return asJson(new ApiResponse().status(Status.OK).result()); } /** * Deletes documents matching the given query from the search index. * * @param body the search parameters defining which documents to delete * @return JSON response containing the count of deleted documents */ // DELETE /api/admin/searchlist/query @ExecuteCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 12.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallback.java
import java.util.Map; import org.codelibs.fess.entity.DataStoreParams; /** * Callback interface for handling index update operations during data store processing. * This interface provides methods for storing documents, tracking processing metrics, * and committing changes to the search index. */ public interface IndexUpdateCallback { /** * Stores a document in the search index with the specified parameters and data.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/documents/BulkBody.java
*/ package org.codelibs.fess.app.web.api.admin.documents; import java.util.List; import java.util.Map; /** * Request body for bulk document operations containing a list of documents. */ public class BulkBody { /** * Creates a new instance of BulkBody. */ public BulkBody() { // Default constructor } /** * List of documents to be processed in bulk operations. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java
@Test public void test_execute_success() { String result = updateLabelJob.execute(); assertNotNull(result); assertTrue(result.contains("3 documents")); // 3 documents processed assertFalse(result.contains("exception")); } // Test execute() method with query builder @Test public void test_execute_withQueryBuilder() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.6K bytes - Click Count (0)