Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,316 for kinds (0.02 seconds)

  1. 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: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            boolQueryBuilder.must(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.DOCUMENT.toString()));
            boolQueryBuilder.mustNot(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.QUERY.toString()));
            boolQueryBuilder.mustNot(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.USER.toString()));
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  3. CLAUDE.md

    ### SuggestItem (Domain Entity)
    Location: `src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java`
    
    Core attributes: `text`, `timestamp`, `queryFreq`, `docFreq`, `userBoost`, `readings`, `tags`, `roles`, `languages`, `kinds`
    
    Kind types: `DOCUMENT`, `QUERY`, `USER`
    
    ---
    
    ## Development Workflow
    
    ### Build Commands
    
    ```bash
    mvn compile                              # Compile
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            }
            return deleteWordsByKind(FieldNames.QUERY_FREQ, SuggestItem.Kind.QUERY, item -> item.setQueryFreq(0), SuggestItem.Kind.DOCUMENT,
                    SuggestItem.Kind.USER);
        }
    
        /**
         * Common method to delete words by kind.
         * @param freqField The frequency field name.
         * @param kindToRemove The kind to remove.
         * @param freqSetter The consumer to set frequency to 0.
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 34.4K bytes
    - Click Count (0)
  5. 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: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 16K bytes
    - Click Count (0)
  6. 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: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sun Nov 23 11:21:40 GMT 2025
    - 17.5K bytes
    - Click Count (1)
  7. android/guava/src/com/google/common/cache/CacheBuilder.java

          checkState(
              this.maximumSize == UNSET_INT,
              "weigher can not be combined with maximum size (%s provided)",
              this.maximumSize);
        }
    
        // safely limiting the kinds of caches this can produce
        @SuppressWarnings("unchecked")
        CacheBuilder<K1, V1> me = (CacheBuilder<K1, V1>) this;
        me.weigher = checkNotNull(weigher);
        return me;
      }
    
      long getMaximumWeight() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 51.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/ByteSource.java

     * is not an open, stateful stream for input that can be read and closed. Instead, it is an
     * immutable <i>supplier</i> of {@code InputStream} instances.
     *
     * <p>{@code ByteSource} provides two kinds of methods:
     *
     * <ul>
     *   <li><b>Methods that return a stream:</b> These methods should return a <i>new</i>, independent
     *       instance each time they are called. The caller is responsible for ensuring that the
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/CharSource.java

     * CharSource} is not an open, stateful stream of characters that can be read and closed. Instead,
     * it is an immutable <i>supplier</i> of {@code Reader} instances.
     *
     * <p>{@code CharSource} provides two kinds of methods:
     *
     * <ul>
     *   <li><b>Methods that return a reader:</b> These methods should return a <i>new</i>, independent
     *       instance each time they are called. The caller is responsible for ensuring that the
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  10. guava/src/com/google/common/io/CharSource.java

     * CharSource} is not an open, stateful stream of characters that can be read and closed. Instead,
     * it is an immutable <i>supplier</i> of {@code Reader} instances.
     *
     * <p>{@code CharSource} provides two kinds of methods:
     *
     * <ul>
     *   <li><b>Methods that return a reader:</b> These methods should return a <i>new</i>, independent
     *       instance each time they are called. The caller is responsible for ensuring that the
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.3K bytes
    - Click Count (0)
Back to Top