- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for getTags (0.06 sec)
-
src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2.5K bytes - Viewed (0) -
internal/logger/reqinfo.go
updated = true break } } if !updated { // Append to the end of tags list r.tags = append(r.tags, KeyVal{key, val}) } return r } // GetTags - returns the user defined tags func (r *ReqInfo) GetTags() []KeyVal { if r == nil { return nil } r.RLock() defer r.RUnlock() return append(make([]KeyVal, 0, len(r.tags)), r.tags...) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:22:04 UTC 2024 - 4.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java
assertEquals(elevateWord3.getReadings().get(0), settings.elevateWord().get()[2].getReadings().get(0)); assertEquals(elevateWord3.getTags().get(0), settings.elevateWord().get()[2].getTags().get(0)); assertEquals(elevateWord3.getRoles().get(0), settings.elevateWord().get()[2].getRoles().get(0)); } @Test public void test_delete() {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
} mergedItem.fields = fieldList.toArray(new String[fieldList.size()]); final List<String> tagList = new ArrayList<>(item1.getTags().length + item2.getTags().length); Collections.addAll(tagList, item1.getTags()); for (final String tag : item2.getTags()) { if (!tagList.contains(tag)) { tagList.add(tag); } }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 20.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java
createDefaultReadingConverter(), createDefaultNormalizer()); SuggestItem item = items.get(0); assertEquals("検索エンジン", item.getText()); assertEquals("tag1", item.getTags()[0]); assertEquals("role1", item.getRoles()[0]); } protected ReadingConverter createDefaultReadingConverter() throws IOException { ReadingConverterChain chain = new ReadingConverterChain();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java
source.put(ELEVATE_WORD_READING, elevateWord.getReadings()); source.put(ELEVATE_WORD_FIELDS, elevateWord.getFields()); source.put(ELEVATE_WORD_TAGS, elevateWord.getTags()); source.put(ELEVATE_WORD_ROLES, elevateWord.getRoles()); source.put(FieldNames.TIMESTAMP, DateTimeFormatter.ISO_INSTANT.format(ZonedDateTime.now()));
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 50.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
secondLine.put("userBoost", item.getUserBoost()); 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());
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 11.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
final ElevateWord normalized = new ElevateWord(normalizedWord, elevateWord.getBoost(), normalizedReadings, elevateWord.getFields(), elevateWord.getTags(), elevateWord.getRoles()); settings.elevateWord().add(normalized); if (apply) { return index(normalized.toSuggestItem()); } return new SuggestIndexResponse(0, 0, null, 0);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 26.1K bytes - Viewed (0) -
fastapi/_compat.py
field_annotation_is_scalar(sub_annotation) for sub_annotation in get_args(annotation) ) def is_bytes_or_nonable_bytes_annotation(annotation: Any) -> bool: if lenient_issubclass(annotation, bytes): return True origin = get_origin(annotation) if origin is Union or origin is UnionType: for arg in get_args(annotation): if lenient_issubclass(arg, bytes):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:36:32 UTC 2024 - 23.4K bytes - Viewed (0)