- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 4,263 for kinds (0.51 seconds)
-
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) -
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) -
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 duplicatesCreated: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 16.7K bytes - Click Count (0) -
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) -
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) -
.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) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
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) -
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) -
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) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
} public MaxCodePoint(String userFriendly) { value = decode(userFriendly); } } /** * The default values of maxCodePoint below provide pretty good performance models of different * kinds of common human text. * * @see MaxCodePoint#decode */ @Param({"0x80", "0x90", "0x100", "0x800", "0x10000", "0x10ffff"}) MaxCodePoint maxCodePoint; @Param({"16384"}) int charCount;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.3K bytes - Click Count (0)