Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 41 for bulk (0.02 seconds)

  1. src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java

                doc.put("url", "http://example.com/bulk/" + i);
                doc.put("content", "This is test content for bulk document " + i);
                doc.put("boost", 1.0f);
                doc.put("role", "Rguest");
                documents.add(doc);
            }
    
            requestBody.put("documents", documents);
    
            // Execute bulk create
    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)
  2. MIGRATION.md

    ```
    
    **Step 3: Import to Fess**
    
    Option A: Via Admin UI
    1. Go to **System > Backup**
    2. Upload `fess-documents.json` (bulk format)
    3. Click **Import**
    
    Option B: Via Bulk API
    ```bash
    curl -X PUT "http://localhost:8080/api/admin/documents/bulk" \
      -H "Content-Type: application/x-ndjson" \
      -u admin:admin \
      --data-binary @fess-documents.json
    ```
    
    #### Index Settings Migration
    
    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/main/java/org/codelibs/fess/helper/SearchHelper.java

            }
        }
    
        /**
         * Performs bulk update operations using a custom bulk request builder.
         *
         * @param consumer Consumer function to configure the bulk request builder
         * @return true if all bulk operations were successful, false otherwise
         * @throws InterruptedRuntimeException if the operation is interrupted
         * @throws SearchEngineClientException if the bulk update fails
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                }
            }).execute()) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Bulk Response:\n{}", response.getContentAsString());
                }
                systemHelper.reloadConfiguration(resetJobs.get());
    
                if (logger.isInfoEnabled()) {
                    logger.info("Bulk data import completed successfully: fileName={}, resetJobs={}", fileName, resetJobs.get());
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 32.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

        /**
         * Represents an API response for bulk operations, containing a list of processed items.
         */
        public static class ApiBulkResponse extends ApiResponse {
            /**
             * Constructs an empty ApiBulkResponse.
             */
            public ApiBulkResponse() {
                // NOP
            }
    
            /**
             * The list of items processed in the bulk operation.
             */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java

            assertEquals(1, testClient.insertBulkDataCalls.size());
            assertFalse(testClient.lastCreateOnly);
        }
    
        @Test
        public void test_insertBulkData_createOnlyTrue() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            testClient.insertBulkData(fessConfig, "fess_config.scheduled_job", "test.bulk", true);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

    import org.codelibs.fess.util.DocList;
    import org.codelibs.fess.util.MemoryUtil;
    import org.opensearch.action.admin.indices.refresh.RefreshResponse;
    import org.opensearch.action.bulk.BulkItemResponse;
    import org.opensearch.action.bulk.BulkItemResponse.Failure;
    import org.opensearch.action.bulk.BulkResponse;
    import org.opensearch.action.search.SearchResponse;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    
    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)
  8. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

    /**
     * Implementation of IndexUpdateCallback for handling document indexing operations.
     * This class manages the process of updating the search index with documents from
     * data stores, including bulk operations, document transformation, and error handling.
     */
    public class IndexUpdateCallbackImpl implements IndexUpdateCallback {
        private static final Logger logger = LogManager.getLogger(IndexUpdateCallbackImpl.class);
    
    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)
  9. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            // Log the result
            if (sizeBeforeDeletion > 0) {
                logger.info("Successfully deleted {} crawling info log(s) using bulk delete", sizeBeforeDeletion);
            } else {
                logger.info("No crawling info logs to delete (may have been deleted by previous test)");
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:01:34 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

         * @param thumbnailId The thumbnail ID.
         * @param value The thumbnail value to update.
         */
        protected void updateThumbnailField(final String thumbnailId, final String value) {
            // TODO bulk
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            try {
                ComponentUtil.getIndexingHelper()
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 13.4K bytes
    - Click Count (0)
Back to Top