- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for boost (0.02 sec)
-
src/main/java/org/codelibs/fess/query/TermQueryCommand.java
} protected QueryBuilder convertKeywordQuery(final FessConfig fessConfig, final QueryContext context, final TermQuery termQuery, final float boost, final String field, final String text) { context.addFieldLog(field, text); context.addHighlightedQuery(text); return QueryBuilders.termQuery(field, text).boost(boost); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java
@Override public QueryBuilder execute(final QueryContext context, final Query query, final float boost) { if (query instanceof final TermRangeQuery termRangeQuery) { if (logger.isDebugEnabled()) { logger.debug("{}:{}", query, boost); } return convertTermRangeQuery(context, termRangeQuery, boost); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java
@Override public String queryName() { return queryBuilder.queryName(); } @Override public float boost() { return queryBuilder.boost(); } @Override public QueryBuilder boost(final float boost) { return queryBuilder.boost(boost); } @Override public String getName() { return queryBuilder.getName(); } @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/resources/fess_config.properties
zh-tw=zh-tw\n\ zh_TW=zh-tw\n\ zh=zh\n\ # boost query.boost.title=0.5 query.boost.title.lang=1.0 query.boost.content=0.05 query.boost.content.lang=0.1 query.boost.important_content=-1.0 query.boost.important_content.lang=-1.0 query.boost.fuzzy.min.length=4 query.boost.fuzzy.title=0.01 query.boost.fuzzy.title.fuzziness=AUTO query.boost.fuzzy.title.expansions=10 query.boost.fuzzy.title.prefix_length=0
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Tue Oct 01 14:13:38 UTC 2024 - 30.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java
} } } public String getBoostValue() { if (boost != null) { return boost.toString(); } return null; } public void setBoostValue(final String value) { if (value != null) { try { boost = Float.parseFloat(value); } catch (final Exception e) {} } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 9.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java
final List<String> roles = (List<String>) sourceArray[i].get(ELEVATE_WORD_ROLES); if (elevateWord != null && boost != null && readings != null && fields != null) { elevateWords[i] = new ElevateWord(elevateWord.toString(), Float.parseFloat(boost.toString()), readings, fields, tags, roles); } } return elevateWords; }
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/es/config/exentity/DataConfig.java
return getBoost().toString(); } public String getBoostValue() { if (boost != null) { return boost.toString(); } return null; } public void setBoostValue(final String value) { if (value != null) { try { boost = Float.parseFloat(value); } catch (final Exception e) {} } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 18.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java
String QUERY_BOOST_TITLE = "query.boost.title"; /** The key of the configuration. e.g. 1.0 */ String QUERY_BOOST_TITLE_LANG = "query.boost.title.lang"; /** The key of the configuration. e.g. 0.05 */ String QUERY_BOOST_CONTENT = "query.boost.content"; /** The key of the configuration. e.g. 0.1 */ String QUERY_BOOST_CONTENT_LANG = "query.boost.content.lang";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 468.5K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/query/QueryCommand.java
import org.opensearch.search.sort.SortBuilders; import org.opensearch.search.sort.SortOrder; public abstract class QueryCommand { public abstract QueryBuilder execute(final QueryContext context, final Query query, final float boost); protected abstract String getQueryClassName(); public void register() { ComponentUtil.getQueryProcessor().add(getQueryClassName(), this); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
suggester.indexer().deleteElevateWord(word, apply); refresh(); } public void addElevateWord(final String word, final String reading, final String[] tags, final String[] permissions, final Float boost, final boolean apply) { final String[] readings; if (StringUtil.isBlank(reading)) { readings = word.replace(" ", TEXT_SEP).replaceAll(TEXT_SEP + "+", TEXT_SEP).split(TEXT_SEP);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.1K bytes - Viewed (0)