Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 15 for occur (0.01 seconds)

  1. src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java

            TermQuery termQuery3 = new TermQuery(new Term("field3", "value3"));
    
            boolQueryBuilder.add(termQuery1, BooleanClause.Occur.MUST);
            boolQueryBuilder.add(termQuery2, BooleanClause.Occur.SHOULD);
            boolQueryBuilder.add(termQuery3, BooleanClause.Occur.MUST_NOT);
            BooleanQuery booleanQuery = boolQueryBuilder.build();
    
            QueryContext context = new QueryContext("test", false);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

                Class<? extends RootAction> actionClass2 = exception2.getActionClass();
                assertNotNull(actionClass2);
    
                // No ClassCastException should occur
            } catch (ClassCastException e) {
                fail("ClassCastException should not occur: " + e.getMessage());
            }
        }
    
        @Test
        public void test_genericTypeSafety_verifyInheritance() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            } catch (JobProcessingException e) {
                assertTrue(e.getMessage().contains("Thumbnail Process terminated."));
            } catch (NullPointerException e) {
                // May occur if ServletContext is not fully initialized
                // This is acceptable in test environment
            }
        }
    
        // Test executeThumbnailGenerator with timeout
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  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/main/java/org/codelibs/fess/llm/LlmClient.java

        /**
         * Performs a chat completion request.
         *
         * @param request the chat request containing messages and parameters
         * @return the chat response from the LLM
         * @throws LlmException if an error occurs during the request
         */
        LlmChatResponse chat(LlmChatRequest request);
    
        /**
         * Performs a streaming chat completion request.
         * The callback is invoked for each chunk of the response.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/llm/LlmException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.llm;
    
    import org.codelibs.fess.exception.FessSystemException;
    
    /**
     * Exception thrown when an error occurs during LLM operations.
     *
     * @author FessProject
     */
    public class LlmException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /** Error code for rate limit (HTTP 429). */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

            }
        }
    
        /**
         * Processes a non-streaming chat request.
         *
         * @param request the HTTP request
         * @param response the HTTP response
         * @throws IOException if an I/O error occurs
         */
        protected void processChatRequest(final HttpServletRequest request, final HttpServletResponse response) throws IOException {
            if (!"POST".equalsIgnoreCase(request.getMethod())) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

         * @param request The HTTP request.
         * @param response The HTTP response.
         * @param chain The filter chain.
         * @throws IOException If an I/O error occurs.
         * @throws ServletException If a servlet error occurs.
         */
        protected void processSuggestRequest(final HttpServletRequest request, final HttpServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
Back to Top