Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 7,005 for kinds (0.1 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/main/java/org/codelibs/fess/suggest/constants/FieldNames.java

        /** The document frequency field. */
        public static final String DOC_FREQ = "docFreq";
        /** The user boost field. */
        public static final String USER_BOOST = "userBoost";
        /** The kinds field. */
        public static final String KINDS = "kinds";
        /** The timestamp field. */
        public static final String TIMESTAMP = "@timestamp";
        /** The tags field. */
        public static final String TAGS = "tags";
        /** The roles field. */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  3. 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)
  4. src/main/java/org/codelibs/fess/suggest/index/operations/DeletionOperations.java

            return deleteWordsByKind(index, FieldNames.QUERY_FREQ, SuggestItem.Kind.QUERY, item -> item.setQueryFreq(0),
                    SuggestItem.Kind.DOCUMENT, SuggestItem.Kind.USER);
        }
    
        /**
         * Common method to delete words by kind.
         *
         * @param index The index name
         * @param freqField The frequency field name
         * @param kindToRemove The kind to remove
         * @param freqSetter The consumer to set frequency to 0
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/entity/SuggestItemMerger.java

        }
    
        /**
         * Merges two Kind arrays, maintaining uniqueness.
         */
        private static SuggestItem.Kind[] mergeKinds(final SuggestItem.Kind[] kinds1, final SuggestItem.Kind[] kinds2) {
            final Set<SuggestItem.Kind> merged = new LinkedHashSet<>();
    
            if (kinds1 != null) {
                Collections.addAll(merged, kinds1);
            }
    
            if (kinds2 != null) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  6. .github/PULL_REQUEST_TEMPLATE.md

    -->
    
    #### What type of PR is this?
    
    <!--
    Add one of the following kinds:
    /kind bug
    /kind dependency
    /kind cleanup
    /kind documentation
    /kind feature
    
    Optionally add one or more of the following kinds if applicable:
    /kind api-change
    /kind deprecation
    /kind failing-test
    /kind flake
    /kind regression
    -->
    
    #### What this PR does / why we need it:
    
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Tue Jan 20 23:14:09 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  7. 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)
  8. 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: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Mar 12 03:39:53 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  9. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java

        extends AbstractFuture<V> {
      /*
       * In the GWT versions of the methods (below), every exceptionType parameter is required to be
       * Class<Throwable>. To handle only certain kinds of exceptions under GWT, you'll need to write
       * your own instanceof tests.
       */
    
      public final FluentFuture<V> catching(
          Class<Throwable> exceptionType,
          Function<? super Throwable, ? extends V> fallback,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  10. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

     */
    abstract class GwtFuturesCatchingSpecialization {
      /*
       * In the GWT versions of the methods (below), every exceptionType parameter is required to be
       * Class<Throwable>. To handle only certain kinds of exceptions under GWT, you'll need to write
       * your own instanceof tests.
       */
    
      public static <V extends @Nullable Object> ListenableFuture<V> catching(
          ListenableFuture<? extends V> input,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2K bytes
    - Click Count (0)
Back to Top