Re: SolrJ getHighlighting() does not return results in order

2017-03-22 Thread leoperezpulido
} And with that I obtained the desired results. Thanks for your help. Leonardo. From: Bryan Bende [via Lucene] Sent: 22 March 2017 17:44:18 To: leoperezpulido Subject: Re: SolrJ getHighlighting() does not return results in order Hello, I believe getHighlig

Re: SolrJ getHighlighting() does not return results in order

2017-03-22 Thread Bryan Bende
Hello, I believe getHighlighting() returns Map>> . Generally Maps are not expected to iterate in order unless you know the underlying implementation of the Map, for example LinkedHashMap will iterate in the insertion order and HashMap will not. You should be able to take the doc id from one of t