- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for queryFieldConfig (0.1 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 -
FessSearchAction.java
L62: protected ThumbnailManager thumbnailManager; L63: L64: @Resource L65: protected LabelTypeHelper labelTypeHelper; L66: L67: @Resource L68: protected QueryHelper queryHelper; L69: L70: @Resource L71: protected QueryFieldConfig queryFieldConfig; L72: L73: @Resource L74: protected RoleQueryHelper roleQueryHelper; L75: L76: @Resource L77: protected UserInfoHelper userInfoHelper; L78: L79: @Resource L80: protected OsddHelper osddHelper; L81: L82: @Resource...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 10K 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 -
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 -
QueryHelper.java
SortOrder.ASC)); L254: defaultSortBuilders = list.toArray(new SortBuilder[list.size()]); L255: } L256: L257: protected SortBuilder<?> createFieldSortBuilder(final String field, final SortOrder order) { L258: if (QueryFieldConfig.SCORE_FIELD.equals(field) || QueryFieldConfig.DOC_SCORE_FIELD.equals(field)) { L259: return SortBuilders.scoreSort().order(order); L260: } L261: return SortBuilders.fieldSort(field).order(order); L262: } L263: L264: public void setHighlightPrefix(final...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 11.9K 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