- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for queryFieldConfig (0.08 sec)
-
QueryFieldConfig.java
org.codelibs.core.misc.Pair; L33:import org.codelibs.fess.mylasta.direction.FessConfig; L34:import org.codelibs.fess.util.ComponentUtil; L35: L36:import jakarta.annotation.PostConstruct; L37: L38:public class QueryFieldConfig { L39: L40: private static final Logger logger = LogManager.getLogger(QueryFieldConfig.class); L41: L42: public static final String SCORE_FIELD = "score"; L43: L44: public static final String DOC_SCORE_FIELD = "_score"; L45: L46: public static final String SITE_FIELD = "site";...github.com/codelibs/fess/src/main/java/org/code...Mon Jul 22 04:30:56 UTC 2024 16K bytes -
SearchHelper.java
queryHelper = ComponentUtil.getQueryHelper(); L205: final QueryFieldConfig queryFieldConfig = ComponentUtil.getQueryFieldConfig(); L206: queryHelper.processSearchPreference(searchRequestBuilder, userBean, query); L207: return SearchConditionBuilder.builder(searchRequestBuilder).scroll().query(query).size(pageSize) L208: .responseFields(queryFieldConfig.getScrollResponseFields()).searchRequestType(params.getType()).build();...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 19.1K bytes -
TermQueryCommandTest.java
L42: L43: private TermQueryCommand queryCommand; L44: L45: @Override L46: public void setUp() throws Exception { L47: super.setUp(); L48: L49: QueryFieldConfig queryFieldConfig = new QueryFieldConfig(); L50: queryFieldConfig.init(); L51: ComponentUtil.register(queryFieldConfig, "queryFieldConfig"); L52: L53: QueryParser queryParser = new QueryParser(); L54: queryParser.init(); L55: ComponentUtil.register(queryParser, "queryParser"); L56: L57:...github.com/codelibs/fess/src/test/java/org/code...Thu Jul 11 08:26:36 UTC 2024 9.2K bytes -
QueryCommand.java
add(getQueryClassName(), this); L46: } L47: L48: protected QueryFieldConfig getQueryFieldConfig() { L49: return ComponentUtil.getQueryFieldConfig(); L50: } L51: L52: protected QueryProcessor getQueryProcessor() { L53: return ComponentUtil.getQueryProcessor(); L54: } L55: L56: protected SortBuilder<?> createFieldSortBuilder(final String field, final SortOrder order) { L57: if (QueryFieldConfig.SCORE_FIELD.equals(field) || QueryFieldConfig.DOC_SCORE_FIELD.equals(field))...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 6.5K bytes -
TermQueryCommand.java
L16:package org.codelibs.fess.query; L17: L18:import static org.codelibs.core.stream.StreamUtil.split; L19:import static org.codelibs.fess.Constants.DEFAULT_FIELD; L20:import static org.codelibs.fess.query.QueryFieldConfig.INURL_FIELD; L21:import static org.codelibs.fess.query.QueryFieldConfig.SITE_FIELD; L22: L23:import org.apache.logging.log4j.LogManager; L24:import org.apache.logging.log4j.Logger; L25:import org.apache.lucene.index.Term; L26:import org.apache.lucene.search.PrefixQuery; L27:import...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:15 UTC 2024 10K bytes -
ComponentUtil.java
L78:import org.codelibs.fess.job.JobExecutor; L79:import org.codelibs.fess.ldap.LdapManager; L80:import org.codelibs.fess.mylasta.direction.FessConfig; L81:import org.codelibs.fess.mylasta.direction.FessProp; L82:import org.codelibs.fess.query.QueryFieldConfig; L83:import org.codelibs.fess.query.QueryProcessor; L84:import org.codelibs.fess.query.parser.QueryParser; L85:import org.codelibs.fess.rank.fusion.RankFusionProcessor; L86:import org.codelibs.fess.script.ScriptEngineFactory; L87:import org....github.com/codelibs/fess/src/main/java/org/code...Mon Jun 17 13:35:51 UTC 2024 20.2K bytes -
SearchEngineClient.java
} L1476: L1477: protected void buildSort(final QueryContext queryContext, final QueryFieldConfig queryFieldConfig, final FessConfig fessConfig) { L1478: queryContext.sortBuilders().forEach(sortBuilder -> searchRequestBuilder.addSort(sortBuilder)); L1479: } L1480: L1481: protected void buildRescorer(final QueryHelper queryHelper, final QueryFieldConfig queryFieldConfig, final FessConfig fessConfig) { L1482: stream(queryHelper.getRescorers(condition())).of(stream...github.com/codelibs/fess/src/main/java/org/code...Sun Oct 20 02:08:03 UTC 2024 86.1K bytes -
QueryHelperTest.java
ComponentUtil.register(new VirtualHostHelper(), "virtualHostHelper"); L75: ComponentUtil.register(new KeyMatchHelper(), "keyMatchHelper"); L76: inject(queryHelper); L77: queryFieldConfig = new QueryFieldConfig(); L78: ComponentUtil.register(queryFieldConfig, "queryFieldConfig"); L79: queryFieldConfig.init(); L80: QueryProcessor queryProcessor = new QueryProcessor(); L81: ComponentUtil.register(queryProcessor, "queryProcessor"); L82: queryProcessor.init();...github.com/codelibs/fess/src/test/java/org/code...Thu Jul 11 08:26:36 UTC 2024 39.8K bytes