Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for operator (0.03 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            } else if (status == CrawlerStatus.DONE) {
                fail("Should not be DONE");
            }
    
            // Test with ternary operator
            String message = (status == CrawlerStatus.RUNNING) ? "Running" : "Not Running";
            assertEquals("Running", message);
    
            // Test with logical operators
            assertTrue(status == CrawlerStatus.RUNNING || status == CrawlerStatus.DONE);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

    import org.codelibs.fess.suggest.util.SuggestUtil;
    import org.opensearch.OpenSearchStatusException;
    import org.opensearch.action.search.SearchResponse;
    import org.opensearch.index.query.Operator;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.search.SearchHit;
    import org.opensearch.transport.client.Client;
    
    /**
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

         * @param queryBuilder the query used to identify documents to delete
         * @return true if the operation completes successfully
         * @throws SuggesterException if any error occurs during the delete operation
         */
        public static boolean deleteByQuery(final Client client, final SuggestSettings settings, final String index,
                final QueryBuilder queryBuilder) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (1)
  4. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            assertNotNull(keywords);
            assertEquals(2, keywords.size());
            assertTrue(keywords.contains("test"));
            assertTrue(keywords.contains("query"));
    
            // Test with OR operator
            List<String> orKeywords = SuggestUtil.getKeywords("test OR query", fields);
            assertNotNull(orKeywords);
            assertEquals(2, orKeywords.size());
    
            // Test with invalid query
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexResponse.java

    import org.codelibs.fess.suggest.request.Response;
    
    /**
     * Represents the response of a suggest index operation.
     * This class contains information about the number of suggest documents,
     * the number of input documents, any errors that occurred during the operation,
     * and the time taken to complete the operation.
     */
    public class SuggestIndexResponse implements Response {
        /** The number of suggest documents. */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/SuggestDeleteResponse.java

    /**
     * Represents the response of a suggest delete operation.
     * This class contains information about any errors that occurred during the operation
     * and the time taken to complete the operation.
     */
    public class SuggestDeleteResponse {
        /** List of errors that occurred during the operation. */
        protected final List<Throwable> errors = new ArrayList<>();
        /** Time taken for the operation in milliseconds. */
        protected final long took;
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/UnsupportedExtractException.java

     */
    package org.codelibs.fess.crawler.exception;
    
    /**
     * UnsupportedExtractException is thrown when the content extraction is not supported.
     * It extends ExtractException and indicates that the requested extraction operation cannot be performed.
     *
     */
    public class UnsupportedExtractException extends ExtractException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructor.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java

         */
        SuggestWriterResult write(Client client, SuggestSettings settings, String index, SuggestItem[] items, boolean update);
    
        /**
         * Deletes a suggestion from the specified index.
         *
         * @param client   the client to use for the operation
         * @param settings the settings to use for the operation
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResult.java

     * It keeps track of any failures that occur during the operation.
     */
    public class SuggestWriterResult {
        /**
         * Constructs a new {@link SuggestWriterResult}.
         */
        public SuggestWriterResult() {
            // nothing
        }
    
        /**
         * A list of Throwables representing failures that occurred during the operation.
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/AccessResultCallback.java

        /**
         * Processes the given access result.
         *
         * @param accessResult the result of the access operation to be processed
         */
        /**
         * Processes the given access result.
         *
         * @param accessResult the result of the access operation to be processed
         */
        void iterate(RESULT accessResult);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top