- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for FieldNames (0.12 sec)
-
src/main/java/org/codelibs/fess/suggest/constants/FieldNames.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.suggest.constants; public final class FieldNames { public static final String ID = "_id"; public static final String TEXT = "text"; public static final String READING_PREFIX = "reading_"; public static final String SCORE = "score";
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2.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: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 20.1K 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: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 13.4K bytes - Viewed (0) -
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: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java
queryBuilder.must(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.QUERY.toString())); queryBuilder.mustNot(QueryBuilders.existsQuery(FieldNames.READING_PREFIX + "1")); queryBuilder.must(QueryBuilders.rangeQuery(FieldNames.QUERY_FREQ).gte(queryFreqThreshold)); if (!tags.isEmpty()) { queryBuilder.must(QueryBuilders.termsQuery(FieldNames.TAGS, tags)); } if (!roles.isEmpty()) {
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 7K 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: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18K bytes - Viewed (0) -
subprojects/core-api/src/test/groovy/org/gradle/StartParameterTest.groovy
def parameter = new StartParameter() def fieldNames = StartParameter.class.getDeclaredFields() .findAll { !it.synthetic } .collect { it.name } .toSet() // Replace fields that are represented as multiple fields in the toString fieldNames.remove("loggingConfiguration") fieldNames.add("logLevel") fieldNames.add("showStacktrace")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 06:24:50 UTC 2024 - 14K 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: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 26.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: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 19.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java
} final Map<String, Object> source = new HashMap<>(); source.put(FieldNames.ARRAY_KEY, ELEVATE_WORD_SETTINGD_KEY); source.put(FieldNames.ARRAY_VALUE, elevateWord.getElevateWord()); source.put(ELEVATE_WORD_BOOST, elevateWord.getBoost()); source.put(ELEVATE_WORD_READING, elevateWord.getReadings());
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.9K bytes - Viewed (0)