Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,480 for kinds (0.04 seconds)

  1. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

                }
            }
        }
    
        /**
         * Concatenates kind arrays, avoiding duplicates.
         * @param kinds The initial kind array.
         * @param newKinds The new kind array to add.
         * @return The concatenated kind array.
         */
        protected static Kind[] concatKinds(final Kind[] kinds, final Kind... newKinds) {
            if (kinds == null) {
                return newKinds;
            }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

        @Test
        public void testConcatKinds() {
            // Test static concatKinds method
            SuggestItem.Kind[] kinds1 = { SuggestItem.Kind.QUERY };
            SuggestItem.Kind[] kinds2 = { SuggestItem.Kind.DOCUMENT, SuggestItem.Kind.QUERY };
    
            SuggestItem.Kind[] result = SuggestItem.concatKinds(kinds1, kinds2);
    
            assertNotNull(result);
            assertEquals(2, result.length); // Should not have duplicates
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

         */
        public void addField(final String field) {
            fields.add(field);
        }
    
        /**
         * Adds a kind to filter by.
         * @param kind The kind.
         */
        public void addKind(final String kind) {
            kinds.add(kind);
        }
    
        /**
         * Sets whether to return detailed suggestion information.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/entity/SuggestItemSerializer.java

            final SuggestItem.Kind[] itemKinds = new SuggestItem.Kind[kinds.size()];
            for (int i = 0; i < kinds.size(); i++) {
                final String kind = kinds.get(i);
                if (kind.equals(SuggestItem.Kind.DOCUMENT.toString())) {
                    itemKinds[i] = SuggestItem.Kind.DOCUMENT;
                } else if (kind.equals(SuggestItem.Kind.QUERY.toString())) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemBoundaryTest.java

            SuggestItem.Kind[] kinds1 = { SuggestItem.Kind.QUERY };
            SuggestItem.Kind[] kinds2 = { SuggestItem.Kind.QUERY, SuggestItem.Kind.DOCUMENT };
    
            SuggestItem.Kind[] result = SuggestItem.concatKinds(kinds1, kinds2);
    
            // Should have QUERY from first, and only DOCUMENT added from second (QUERY already exists)
            assertEquals(2, result.length);
        }
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Jan 17 05:10:37 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  6. docs/changelogs/upgrading_to_okhttp_4.md

    with Java.
    
    We spent a lot of time and energy on retaining strict compatibility with OkHttp 3.x. We’re even
    keeping the package name the same: `okhttp3`!
    
    There are three kinds of compatibility we’re tracking:
    
     * **Binary compatibility** is the ability to compile a program against OkHttp 3.x, and then to run
       it against OkHttp 4.x. We’re using the excellent [japicmp][japicmp] library via its
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         *
         * https://github.com/google/guava/issues/2254
         *
         * Other kinds of Errors are possible:
         *
         * - OutOfMemoryError from allocations in setFuture(): The calculus here is similar to
         * StackOverflowError: We can't reliably call setException(error).
         *
         * - Any kind of Error from a listener. Even if we could distinguish that case (by exposing some
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 20 18:03:37 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            // Check kind
            assertNotNull(suggestItem.getKinds());
            // The kinds array structure might be different
            boolean hasUserKind = false;
            for (SuggestItem.Kind kind : suggestItem.getKinds()) {
                if (kind == SuggestItem.Kind.USER) {
                    hasUserKind = true;
                    break;
                }
            }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 16K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            secondLine.put("score", (item.getQueryFreq() + item.getDocFreq()) * item.getUserBoost());
            secondLine.put("tags", item.getTags());
            secondLine.put("roles", item.getRoles());
            secondLine.put("kinds", Arrays.toString(item.getKinds()));
            secondLine.put("@timestamp", item.getTimestamp());
    
            try (OutputStream out1 = getXContentOutputStream(firstLineMap); OutputStream out2 = getXContentOutputStream(secondLine)) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Nov 23 11:21:40 GMT 2025
    - 17.5K bytes
    - Click Count (1)
  10. LICENSE

     of this license document, but changing it is not allowed.
    
                                Preamble
    
      The GNU Affero General Public License is a free, copyleft license for
    software and other kinds of works, specifically designed to ensure
    cooperation with the community in the case of network server software.
    
      The licenses for most software and other practical works are designed
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 33.7K bytes
    - Click Count (0)
Back to Top