Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 5,850 for kinds (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  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. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/test/java/jcifs/smb1/UniAddressTest.java

    import jcifs.smb1.netbios.NbtAddress;
    
    /**
     * Unit tests for {@link UniAddress}.  The focus of these tests is on
     * the public API of {@code UniAddress} and its behaviour when provided
     * with different kinds of inputs.  Many static helpers in {@code
     * UniAddress} are network dependent and therefore not exercised here – they
     * would require complex stubbing of static methods.  Instead the tests
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
Back to Top