- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for FieldNames (0.06 sec)
-
src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java
} final Map<String, Object> source = new HashMap<>(); source.put(FieldNames.ARRAY_KEY, key); source.put(FieldNames.ARRAY_VALUE, value); source.put(FieldNames.TIMESTAMP, DateTimeFormatter.ISO_INSTANT.format(ZonedDateTime.now())); addToArrayIndex(arraySettingsIndexName, settingsId, createId(key, value), source); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
if (!tags.isEmpty()) { filterList.add(buildFilterQuery(FieldNames.TAGS, tags)); } roles.add(SuggestConstants.DEFAULT_ROLE); if (!roles.isEmpty()) { filterList.add(buildFilterQuery(FieldNames.ROLES, roles)); } if (!fields.isEmpty()) { filterList.add(buildFilterQuery(FieldNames.FIELDS, fields)); } if (!kinds.isEmpty()) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 13.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
deleteByQuery(QueryBuilders.boolQuery().must(QueryBuilders.rangeQuery(FieldNames.DOC_FREQ).gte(1)) .mustNot(QueryBuilders.matchPhraseQuery(FieldNames.KINDS, SuggestItem.Kind.QUERY.toString())) .mustNot(QueryBuilders.matchPhraseQuery(FieldNames.KINDS, SuggestItem.Kind.USER.toString()))); if (deleteResponse.hasError()) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 26.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
boolQueryBuilder .must(QueryBuilders.rangeQuery(FieldNames.TIMESTAMP).lt(time.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli())); boolQueryBuilder.must(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.DOCUMENT.toString())); boolQueryBuilder.mustNot(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.QUERY.toString()));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
map.put(FieldNames.LANGUAGES, languages); map.put(FieldNames.KINDS, Stream.of(kinds).map(Kind::toString).toArray()); map.put(FieldNames.QUERY_FREQ, queryFreq); map.put(FieldNames.DOC_FREQ, docFreq); map.put(FieldNames.USER_BOOST, userBoost); map.put(FieldNames.SCORE, (queryFreq + docFreq) * userBoost); map.put(FieldNames.TIMESTAMP, timestamp.toInstant().toEpochMilli()); return map;
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/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java
final String fieldReadingAnalyzer = source.get(FieldNames.ANALYZER_SETTINGS_READING_ANALYZER) == null ? null : source.get(FieldNames.ANALYZER_SETTINGS_READING_ANALYZER).toString(); final String fieldReadingTermAnalyzer = source.get(FieldNames.ANALYZER_SETTINGS_READING_TERM_ANALYZER) == null ? null : source.get(FieldNames.ANALYZER_SETTINGS_READING_TERM_ANALYZER).toString();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 19.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
return getNum(QueryBuilders.matchAllQuery()); } public long getDocumentWordsNum() { return getNum(QueryBuilders.rangeQuery(FieldNames.DOC_FREQ).gte(1)); } public long getQueryWordsNum() { return getNum(QueryBuilders.rangeQuery(FieldNames.QUERY_FREQ).gte(1)); } private long getNum(final QueryBuilder queryBuilder) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 14.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
analyzerMapping.put(FieldNames.ANALYZER_SETTINGS_TYPE, AnalyzerSettings.FIELD_ANALYZER_MAPPING); analyzerMapping.put(FieldNames.ANALYZER_SETTINGS_FIELD_NAME, field); analyzerMapping.put(FieldNames.ANALYZER_SETTINGS_CONTENTS_ANALYZER, "title_contents_analyzer"); analyzerMapping.put(FieldNames.ANALYZER_SETTINGS_CONTENTS_READING_ANALYZER, "");
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 37K bytes - Viewed (0)