summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/prelude
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2023-07-04 15:36:32 +0200
committerTor Egge <Tor.Egge@online.no>2023-07-04 15:36:32 +0200
commitf49ff6ae01de4f04bb547eb85cc49c1c8828b145 (patch)
tree85253442c9f957c01246568ada7b33718f84a0a6 /container-search/src/main/java/com/yahoo/prelude
parentb3abb357a1d64c19f9be1efeb60b43da244c4391 (diff)
Handle sorting on multivalue attributes.
Diffstat (limited to 'container-search/src/main/java/com/yahoo/prelude')
-rw-r--r--container-search/src/main/java/com/yahoo/prelude/searcher/ValidateSortingSearcher.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/container-search/src/main/java/com/yahoo/prelude/searcher/ValidateSortingSearcher.java b/container-search/src/main/java/com/yahoo/prelude/searcher/ValidateSortingSearcher.java
index 701e5d57950..578fe7cf8cc 100644
--- a/container-search/src/main/java/com/yahoo/prelude/searcher/ValidateSortingSearcher.java
+++ b/container-search/src/main/java/com/yahoo/prelude/searcher/ValidateSortingSearcher.java
@@ -61,9 +61,6 @@ public class ValidateSortingSearcher extends Searcher {
HashMap<String, AttributesConfig.Attribute> attributes = new HashMap<>(config.attribute().size());
for (AttributesConfig.Attribute attr : config.attribute()) {
- if (AttributesConfig.Attribute.Collectiontype.SINGLE != attr.collectiontype()) {
- continue; // cannot sort on multivalue attributes
- }
attributes.put(attr.name(), attr);
}
setAttributeNames(attributes);