- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 2,039 for kinds (0.11 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/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) -
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) -
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) -
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 Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 52K bytes - Click Count (0)