Re: How to change sorting *after* getting search results

2021-11-30 Thread Luís Filipe Nassif
No, I didn't know about them, SortRescorer should do the job. Thank you, Michael! Luís Em ter., 30 de nov. de 2021 às 15:24, Michael Sokolov escreveu: > I think you are asking how to re-sort a result set returned from > IndexSearcher.search, ie a TopDocs? You can do this with one of the various

Re: How to change sorting *after* getting search results

2021-11-30 Thread Michael Sokolov
I think you are asking how to re-sort a result set returned from IndexSearcher.search, ie a TopDocs? You can do this with one of the various Rescorers. Have you looked at those? On Tue, Nov 30, 2021, 9:15 AM Luís Filipe Nassif wrote: > Hi Lucene community, > > Our users could do very heavy searc

How to change sorting *after* getting search results

2021-11-30 Thread Luís Filipe Nassif
Hi Lucene community, Our users could do very heavy searches and they are able to change the sorting criteria multiple times after getting the results. We collect all of them, this is important for our use case, disabling scoring if the result size is too large to make the search faster. Currently