Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 69 for occur (0.04 seconds)

  1. src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java

                    } finally {
                        latch.countDown();
                    }
                }).start();
            }
    
            latch.await(10, TimeUnit.SECONDS);
            assertFalse("No unexpected errors should occur during concurrent access", errorOccurred.get());
        }
    
        /**
         * Test that default groups and roles are preserved during lazy loading.
         */
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

    import org.dbflute.cbean.result.PagingResultBean;
    import org.dbflute.optional.OptionalEntity;
    
    import jakarta.annotation.Resource;
    
    /**
     * Service class for managing failure URLs that occur during web crawling.
     * Provides functionality to store, retrieve, and manage failed crawling attempts
     * with their associated error information.
     */
    public class FailureUrlService {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java

            assertTrue(result);
            assertEquals("No indices should be created with empty targets", 0, testClient.createdIndices.size());
            assertEquals("No reindex should occur with empty targets", 0, testClient.reindexPairs.size());
        }
    
        // ==========================================================================
        // reindexConfigIndices - atomic alias switching
    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)
  4. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            assertNotNull(result);
            assertTrue(result.contains("Session Id:"));
            assertNotNull(suggestJob.sessionId);
            assertEquals(15, suggestJob.sessionId.length());
            // Cache clearing may not always occur in test environment
            // The real behavior depends on the actual SuggestJob implementation
        }
    
        // Test execute method with failure
        @Test
        public void test_execute_failure() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 31.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

                        for (int j = 0; j < urlsPerThread; j++) {
                            // Access is synchronized internally in the actual implementation
                            // Here we just verify no concurrent modification exceptions occur
                            String url = "http://example.com/thread" + threadIndex + "/doc" + j;
                            // Simulate the synchronized access that happens in deleteDocument()
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            boolBuilder.add(new TermQuery(new Term("title", "fess")), BooleanClause.Occur.MUST);
            boolBuilder.add(new PrefixQuery(new Term("content", "search")), BooleanClause.Occur.SHOULD);
            boolBuilder.add(new WildcardQuery(new Term("url", "*.html")), BooleanClause.Occur.MUST_NOT);
            BooleanQuery boolQuery = boolBuilder.build();
            BoostQuery boostQuery = new BoostQuery(boolQuery, 5.5f);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            // This test verifies that ProtwordsUpdater constructor properly handles exceptions
            // The actual exception handling is tested by ensuring the updater can be created
            // and properly closed even when errors might occur
    
            protwordsFile.reload(null);
    
            // Test normal creation and cleanup of ProtwordsUpdater
            ProtwordsItem testItem = new ProtwordsItem(0, "testWord");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                }
    
            }
        }
    
        /**
         * Retrieves the access result data from an OpenSearch access result.
         * Handles exceptions that may occur during data retrieval.
         *
         * @param accessResult the access result to extract data from
         * @return the access result data, or null if retrieval fails
         */
    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)
  9. src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java

        public void test_constructor() {
            // Test that constructor creates instance without error
            PurgeLogJob job = new PurgeLogJob();
            assertNotNull(job);
        }
    
        // Test multiple exceptions occur
        @Test
        public void test_execute_multipleExceptions() {
            // Create mock services with exceptions
            CrawlingInfoService crawlingInfoService = new CrawlingInfoService() {
                @Override
    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)
  10. src/main/java/org/codelibs/fess/query/BooleanQueryCommand.java

                final QueryBuilder queryBuilder = getQueryProcessor().execute(context, clause.query(), boost);
                if (queryBuilder != null) {
                    switch (clause.occur()) {
                    case MUST:
                        boolQuery.must(queryBuilder);
                        break;
                    case SHOULD:
                        boolQuery.should(queryBuilder);
                        break;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top