Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for Refresh (0.03 sec)

  1. src/test/java/org/codelibs/fess/entity/FessUserTest.java

            assertTrue(user.refresh());
            assertEquals(1, user.getRefreshCount());
    
            // Test multiple refreshes
            user.refresh();
            user.refresh();
            assertEquals(3, user.getRefreshCount());
    
            // Test custom implementation that returns false
            user = new TestRefreshableFessUser("testuser", false);
            assertFalse(user.refresh());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

         */
        public void deleteBadWord(final String badWord) {
            suggester.indexer().deleteBadWord(badWord);
            refresh();
        }
    
        /**
         * Refreshes the suggest index.
         */
        public synchronized void refresh() {
            suggester.refresh();
            if (popularWordHelper != null) {
                popularWordHelper.clearCache();
            }
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

        }
    
        public void test_refresh() {
            List<LabelType> labelTypeList = createTestLabelTypeList();
    
            try {
                labelTypeHelper.refresh(labelTypeList);
            } catch (Exception e) {
                fail("refresh() should not throw an exception: " + e.getMessage());
            }
        }
    
        public void test_matchLocale() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            logger.info("FileConfig is created");
            refresh();
            fileConfigId = getFileConfigIds(NAME_PREFIX).get(0);
    
            createJob();
            logger.info("Job is created");
            refresh();
    
            startJob(NAME_PREFIX);
    
            waitJob(NAME_PREFIX);
            refresh();
        }
    
        @BeforeEach
        protected void init() {
            refresh();
        }
    
        @AfterEach
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

                }
            }, WebConfigService.class.getCanonicalName());
    
            // Without refresh, should still get cached version
            CrawlingConfig config2 = crawlingConfigHelper.getCrawlingConfig("W01");
            assertEquals("01", config2.getId());
    
            // After refresh, should get new version
            crawlingConfigHelper.refresh();
            CrawlingConfig config3 = crawlingConfigHelper.getCrawlingConfig("W01");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

         * This operation ensures that all pending writes are persisted and searchable.
         *
         * @param searchEngineClient the search engine client to use for refresh
         * @param index the index name to refresh
         * @return the refresh status code
         */
        protected int refreshIndex(final SearchEngineClient searchEngineClient, final String index) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java

                assertTrue(true);
            } catch (Exception e) {
                assertTrue(true);
            }
        }
    
        public void test_refresh() {
            try {
                suggestHelper.refresh();
                assertTrue(true);
            } catch (Exception e) {
                assertTrue(true);
            }
        }
    
        // Mock classes
        private static class MockFessConfig extends FessConfig.SimpleImpl {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        public ActionResponse godHandPrologue(final ActionRuntime runtime) {
            fessLoginAssist.getSavedUserBean().ifPresent(u -> {
                final boolean result = u.getFessUser().refresh();
                if (logger.isDebugEnabled()) {
                    logger.debug("refresh user info: {}", result);
                }
            });
            return viewHelper.getActionHook().godHandPrologue(runtime, super::godHandPrologue);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

        /**
         * Stores (inserts or updates) a crawling information record.
         * Sets up the store conditions including creation time if not already set,
         * then performs an insert or update operation with immediate refresh.
         *
         * @param crawlingInfo the crawling information entity to store
         * @throws FessSystemException if the crawling information is null
         */
        public void store(final CrawlingInfo crawlingInfo) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java

    import org.dbflute.exception.IllegalBehaviorStateException;
    import org.dbflute.util.DfTypeUtil;
    import org.opensearch.action.DocWriteResponse.Result;
    import org.opensearch.action.admin.indices.refresh.RefreshResponse;
    import org.opensearch.action.bulk.BulkItemResponse;
    import org.opensearch.action.bulk.BulkRequestBuilder;
    import org.opensearch.action.bulk.BulkResponse;
    import org.opensearch.action.delete.DeleteRequestBuilder;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
Back to top