Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for takeIf (0.26 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/util/OpenSearchResultList.java

        }
    
        /**
         * Sets the time taken for the search in milliseconds.
         * @param tookInMillis The time taken in milliseconds.
         */
        public void setTookInMillis(final long tookInMillis) {
            this.tookInMillis = tookInMillis;
        }
    
        /**
         * Returns the time taken for the search in milliseconds.
         * @return The time taken in milliseconds.
         */
        public long getTookInMillis() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java

    /**
     * Represents a response for a suggest request.
     * This class holds the details of the response including the index, time taken, words, total count, and suggested items.
     */
    public class SuggestResponse implements Response {
        /** The index name. */
        protected final String index;
    
        /** The time taken in milliseconds. */
        protected final long tookMs;
    
        /** The list of suggested words. */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/SuggestDeleteResponse.java

     * 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)
  4. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexResponse.java

        /** Time taken for the operation in milliseconds. */
        protected final long took;
    
        /**
         * Constructor for SuggestIndexResponse.
         * @param numberOfSuggestDocs The number of suggest documents.
         * @param numberOfInputDocs The number of input documents.
         * @param errors A list of Throwables representing errors.
         * @param took The time taken for the operation in milliseconds.
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java

         *
         * @return the index
         */
        public String getIndex() {
            return index;
        }
    
        /**
         * Returns the time taken to generate the response in milliseconds.
         *
         * @return the time taken in milliseconds
         */
        public long getTookMs() {
            return tookMs;
        }
    
        /**
         * Returns the list of popular words.
         *
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java

     * as a ByteArrayInputStream.
     * </p>
     *
     * <p>
     * The transform method takes a ResponseData object, checks if it has a response body,
     * and then reads the body into a byte array. This byte array is then set as the data
     * in the ResultData object.
     * </p>
     *
     * <p>
     * The getData method takes an AccessResultData object, checks if the transformer name matches,
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            urlFilter.init(sessionId);
    
            // Add conflicting patterns
            urlFilter.addInclude("https://example.com/.*");
            urlFilter.addExclude("https://example.com/.*");
    
            // Exclude should take precedence
            assertFalse(urlFilter.match("https://example.com/page"));
        }
    
        /**
         * Test URL normalization scenarios
         */
        public void test_urlNormalization() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            assertEquals(150L, merged.getQueryFreq()); // Sum of frequencies
            assertEquals(75L, merged.getDocFreq()); // Sum of frequencies
            assertEquals(1.5f, merged.getUserBoost(), 0.001f); // Takes item2's boost
    
            // Check merged arrays contain both items' values
            assertTrue(merged.getTags().length >= 2);
            assertTrue(merged.getRoles().length >= 2);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

         *
         * @param client the OpenSearch client used to clear the scroll context
         * @param scrollId the ID of the scroll context to be deleted; if null, no action is taken
         */
        public static void deleteScrollContext(final Client client, final String scrollId) {
            if (scrollId != null) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (1)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

     * </p>
     *
     * <p>
     * The class uses a cache for XPathAPI objects to improve performance. The cache duration is configurable.
     * </p>
     *
     * <p>
     * The transform method takes a ResponseData object containing the XML content and returns a ResultData object with the extracted and formatted data.
     * </p>
     *
     * <p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
Back to top