- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 106 for sortBy (0.16 sec)
-
openapi-user.yaml
integer L68: minimum: 0 L69: exclusiveMinimum: false L70: maximum: 100 L71: exclusiveMaximum: false L72: default: 20 L73: example: 20 L74: - name: sort L75: in: query L76: description: Sorted field name L77: required: false L78: schema: L79: type: string L80: example: score L81: - name: fields.label L82: in: query L83: description: Filtered label...github.com/codelibs/fess/src/main/config/openap...Thu May 09 06:31:27 UTC 2024 21.6K bytes -
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 -
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 -
search.jsp
class="badge badge-primary" L27: data-toggle="control-options"> <c:if test="${empty sort}"> L28: <la:message key="labels.searchoptions_score" /> L29: </c:if> <c:if test="${sort=='score.desc'}"> L30: <la:message key="labels.searchoptions_score" /> L31: </c:if> <c:if test="${sort=='filename.asc'}"> L32: <la:message key="labels.search_result_sort_filename_asc" /> L33: </c:if> <c:if test="${sort=='filename.desc'}"> L34: <la:message key="labels.search_result_sort_filename_desc"...github.com/codelibs/fess/src/main/webapp/WEB-IN...Sat Oct 26 01:07:52 UTC 2024 6.6K bytes -
search.jsp
class="badge badge-primary" L27: data-toggle="control-options"> <c:if test="${empty sort}"> L28: <la:message key="labels.searchoptions_score" /> L29: </c:if> <c:if test="${sort=='score.desc'}"> L30: <la:message key="labels.searchoptions_score" /> L31: </c:if> <c:if test="${sort=='filename.asc'}"> L32: <la:message key="labels.search_result_sort_filename_asc" /> L33: </c:if> <c:if test="${sort=='filename.desc'}"> L34: <la:message key="labels.search_result_sort_filename_desc"...github.com/codelibs/fess/src/main/webapp/WEB-IN...Sat Oct 26 01:07:52 UTC 2024 6.6K 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 -
FacetInfo.java
(StringUtil.isNotBlank(fessConfig.getQueryFacetFieldsSort())) { L59: sort = fessConfig.getQueryFacetFieldsSort(); L60: } L61: if (StringUtil.isNotBlank(fessConfig.getQueryFacetFieldsMissing())) { L62: missing = fessConfig.getQueryFacetFieldsMissing(); L63: } L64: } L65: L66: public BucketOrder getBucketOrder() { L67: if (StringUtil.isNotBlank(sort)) { L68: final String[] values = sort.split("\\."); L69: final boolean asc; L70: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 3.6K bytes -
CharMappingItem.java
null && newOutput != null; L80: } L81: L82: public boolean isDeleted() { L83: return isUpdated() && newInputs.length == 0; L84: } L85: L86: public void sort() { L87: if (inputs != null) { L88: Arrays.sort(inputs); L89: } L90: if (newInputs != null) { L91: Arrays.sort(newInputs); L92: } L93: } L94: L95: @Override L96: public int hashCode() { L97: return Objects.hash(Arrays.hashCode(inputs), output); L98: } L99:...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 3.4K bytes