Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 180 for deletion (0.07 seconds)

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

         * This method first refreshes the index, then performs the deletion, and logs the result.
         *
         * @param searchEngineClient the search engine client to use for deletion
         * @param index the index name to delete documents from
         * @param queryBuilder the query to match documents for deletion
         * @return the number of documents that were deleted
         */
    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. src/main/java/org/codelibs/fess/suggest/index/operations/DeletionOperations.java

    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.search.SearchHit;
    import org.opensearch.transport.client.Client;
    
    /**
     * Internal operations class for deletion functionality.
     * Handles deletion of suggest items by ID, query, or kind.
     *
     * <p>This class is package-private and intended for internal use by SuggestIndexer.
     */
    public class DeletionOperations {
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java

         */
        public boolean isUpdated() {
            return newInput != null;
        }
    
        /**
         * Checks if the item has been marked for deletion.
         *
         * @return true if the item is marked for deletion, false otherwise.
         */
        public boolean isDeleted() {
            return isUpdated() && newInput.length() == 0;
        }
    
        @Override
        public int hashCode() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

             *
             * <p>The deletion process:</p>
             * <ul>
             *   <li>Checks if old document deletion is enabled</li>
             *   <li>Builds a query to find old documents for this configuration</li>
             *   <li>Optionally preserves expired documents based on configuration</li>
             *   <li>Executes the deletion query against the search engine</li>
             * </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)
  5. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

         * For recursive operations, performs immediate deletion. For single documents,
         * adds to the delete cache for batch processing.
         *
         * @param paramMap the data store parameters
         * @param dataMap the data map containing the URL to delete
         * @return true if the deletion was processed successfully, false otherwise
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 29.7K bytes
    - Click Count (3)
  6. src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java

            CrawlingInfoService crawlingInfoService = new CrawlingInfoService() {
                @Override
                public void deleteBefore(long time) {
                    throw new RuntimeException("Crawling info deletion failed");
                }
            };
    
            SearchLogService searchLogService = new SearchLogService() {
                @Override
                public void deleteBefore(int days) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 32.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

         */
        public boolean isUpdated() {
            return newInputs != null && newOutputs != null;
        }
    
        /**
         * Checks if the item has been marked for deletion.
         *
         * @return true if the item is marked for deletion, false otherwise.
         */
        public boolean isDeleted() {
            return isUpdated() && newInputs.length == 0;
        }
    
        @Override
        public int hashCode() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

        private void testDeleteAllCrawlingInfo() {
            // Read crawling info before deletion
            final List<Map<String, Object>> logListBefore = readCrawlingInfo(webConfigId);
            logger.info("logListBefore: {}", logListBefore);
            final int sizeBeforeDeletion = logListBefore.size();
            logger.info("Number of crawling info logs before deletion: {}", sizeBeforeDeletion);
    
            // Delete all old crawling sessions
    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)
  9. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

            return newInputs != null && newOutput != null;
        }
    
        /**
         * Checks whether this mapping item is marked for deletion.
         * An item is considered deleted if it has updates pending and the new inputs array is empty.
         *
         * @return true if the item is marked for deletion
         */
        public boolean isDeleted() {
            return isUpdated() && newInputs.length == 0;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

        assertThat(cache.size()).isAtMost(1);
      }
    
      public void testCompute() {
        cache.put(key, "1");
        // simultaneous deletion
        doParallelCacheOp(count, n -> cache.asMap().compute(key, (k, v) -> null));
        assertThat(cache.size()).isEqualTo(0);
      }
    
      public void testComputeWithLoad() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 6.4K bytes
    - Click Count (0)
Back to Top