- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 78 for sortBy (0.11 sec)
-
PopularWordHelper.java
buf.append(seed).append(CACHE_KEY_SPLITTER); L103: stream(tags).of(stream -> stream.sorted().reduce((l, r) -> l + r).ifPresent(v -> buf.append(v))); L104: buf.append(CACHE_KEY_SPLITTER); L105: stream(roles).of(stream -> stream.sorted().reduce((l, r) -> l + r).ifPresent(v -> buf.append(v))); L106: buf.append(CACHE_KEY_SPLITTER); L107: stream(fields).of(stream -> stream.sorted().reduce((l, r) -> l + r).ifPresent(v -> buf.append(v))); L108: buf.append(CACHE_KEY_SPLITTER);...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 5.6K bytes -
FessProp.java
(OptionalThing<SortBuilder[]>) propMap.get(QUERY_COLLAPSE_INNER_HITS_SORTS); L1770: if (ot == null) { L1771: final String sorts = getQueryCollapseInnerHitsSorts(); L1772: if (StringUtil.isBlank(sorts)) { L1773: ot = OptionalThing.empty(); L1774: } else { L1775: final SortBuilder[] sortBuilders = split(sorts, ",").get(stream -> stream.filter(StringUtil::isNotBlank).map(s -> { L1776: final String[] values = s.split(":");...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:15 UTC 2024 87.2K bytes -
TermQueryCommand.java
L37:import org.opensearch.index.query.QueryBuilder; L38:import org.opensearch.index.query.QueryBuilders; L39:import org.opensearch.search.sort.SortOrder; L40: L41:public class TermQueryCommand extends QueryCommand { L42: private static final Logger logger = LogManager.getLogger(TermQueryCommand.class); L43: L44: private static final String SORT_FIELD = "sort"; L45: L46: @Override L47: protected String getQueryClassName() { L48: return TermQuery.class.getSimpleName(); L49: } L50:...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:15 UTC 2024 10K bytes -
QueryHelperTest.java
assertQueryContext(String query, Map<String, List<String>> fieldLogMap, Set<String> highlightedQuerySet, String sorts, L540: QueryContext context) { L541: assertEquals(query, context.getQueryBuilder().toString().replaceAll("\\s", "")); L542: assertFieldLogs(fieldLogMap); L543: assertHighlightedQueries(highlightedQuerySet); L544: if (sorts != null) { L545: assertEquals(sorts, context.sortBuilders().stream().map(s -> s.toString().replaceAll("\\s", "")).collect(Collectors.joining()));...github.com/codelibs/fess/src/test/java/org/code...Thu Jul 11 08:26:36 UTC 2024 39.8K bytes -
CrawlingInfoHelper.java
buf.append(";r="); L167: buf.append(roleTypeList.stream().sorted().collect(Collectors.joining(","))); L168: } L169: L170: @SuppressWarnings("unchecked") L171: final List<String> virtualHostList = (List<String>) dataMap.get(fessConfig.getIndexFieldVirtualHost()); L172: if (virtualHostList != null && !virtualHostList.isEmpty()) { L173: buf.append(";v="); L174: buf.append(virtualHostList.stream().sorted().collect(Collectors.joining(","))); L175: } L176:...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 10.6K bytes -
BsBadWordCB.java
QueryBuilder queryBuilder = _conditionQuery.getQuery(); L91: if (queryBuilder != null) { L92: builder.setQuery(queryBuilder); L93: } L94: _conditionQuery.getFieldSortBuilderList().forEach(sort -> { L95: builder.addSort(sort); L96: }); L97: } L98: L99: if (_conditionAggregation != null) { L100: _conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation); L101: } L102: L103: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 6.9K bytes -
BsBoostDocumentRuleCB.java
QueryBuilder queryBuilder = _conditionQuery.getQuery(); L91: if (queryBuilder != null) { L92: builder.setQuery(queryBuilder); L93: } L94: _conditionQuery.getFieldSortBuilderList().forEach(sort -> { L95: builder.addSort(sort); L96: }); L97: } L98: L99: if (_conditionAggregation != null) { L100: _conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation); L101: } L102: L103: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 7.1K bytes -
BsElevateWordCB.java
QueryBuilder queryBuilder = _conditionQuery.getQuery(); L91: if (queryBuilder != null) { L92: builder.setQuery(queryBuilder); L93: } L94: _conditionQuery.getFieldSortBuilderList().forEach(sort -> { L95: builder.addSort(sort); L96: }); L97: } L98: L99: if (_conditionAggregation != null) { L100: _conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation); L101: } L102: L103: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 7K bytes -
BsRequestHeaderCB.java
QueryBuilder queryBuilder = _conditionQuery.getQuery(); L91: if (queryBuilder != null) { L92: builder.setQuery(queryBuilder); L93: } L94: _conditionQuery.getFieldSortBuilderList().forEach(sort -> { L95: builder.addSort(sort); L96: }); L97: } L98: L99: if (_conditionAggregation != null) { L100: _conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation); L101: } L102: L103: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 7K bytes -
BsSearchLogCB.java
QueryBuilder queryBuilder = _conditionQuery.getQuery(); L91: if (queryBuilder != null) { L92: builder.setQuery(queryBuilder); L93: } L94: _conditionQuery.getFieldSortBuilderList().forEach(sort -> { L95: builder.addSort(sort); L96: }); L97: } L98: L99: if (_conditionAggregation != null) { L100: _conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation); L101: } L102: L103: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 7.9K bytes