You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by zjh1983314 <zj...@163.com> on 2020/08/20 10:33:43 UTC
Result set sorting bug
hallo,
i found a bug, in org.apache.solr.handler.component.QueryComponent line 989 .
Map<Object,ShardDoc> resultIds = new HashMap<>(); should Map<Object, ShardDoc> resultIds = new LinkedHashMap<Object, ShardDoc>();
thank you!
zjh1983314
Re: Result set sorting bug
Posted by Erick Erickson <er...@gmail.com>.
Why do you think that’s a bug? ShardDoc contains all sorts of interesting information, like positionInResponse. If your contention is that the results would not be ordered correctly, then I’d think someone would have noticed before this.
Best,
Erick
> On Aug 20, 2020, at 6:33 AM, zjh1983314 <zj...@163.com> wrote:
>
> hallo,
> i found a bug, in org.apache.solr.handler.component.QueryComponent line 989 .
> Map<Object,ShardDoc> resultIds = new HashMap<>(); should Map<Object, ShardDoc> resultIds = new LinkedHashMap<Object, ShardDoc>();
>
> thank you!
>
>
>
>
>
>
> zjh1983314