Re: What is the logical order of applying sorts in SOLR?

2020-05-22 Thread Stephen Lewis Bianamara
> If you use sort, you are basically ignoring relevancy That's correct -- this is for querying with a stable sort, not for natural language. One place this comes up for example is with cursors -- cursors require the unique key

Re: What is the logical order of applying sorts in SOLR?

2020-05-20 Thread Alexandre Rafalovitch
If you use sort, you are basically ignoring relevancy (unless you put that into sort). Which you seem to know as your example uses FQ. Do you see performance drop on non-clustered or clustered Solr? Because, I would not be surprised if, for clustered node, all the results need to be brought into

Re: What is the logical order of applying sorts in SOLR?

2020-05-18 Thread Stephen Lewis Bianamara
I don't see how that would work. A boost would increase the relevance based on a query, so how would it be able to apply a sort by the unique key field? On Sat, May 16, 2020 at 3:51 PM David Hastings wrote: > the bq parameter, heres a SO thread for it: > > >

Re: What is the logical order of applying sorts in SOLR?

2020-05-16 Thread David Hastings
the bq parameter, heres a SO thread for it: https://stackoverflow.com/questions/45150856/how-to-know-when-to-use-solr-bq-vs-bf-and-how-to-apply-query-logic On Sat, May 16, 2020 at 6:27 PM Stephen Lewis Bianamara < stephen.bianam...@gmail.com> wrote: > Hi Paras, > > I'm not sure I follow. How

Re: What is the logical order of applying sorts in SOLR?

2020-05-16 Thread Stephen Lewis Bianamara
Hi Paras, I'm not sure I follow. How would one replace sort by id with boosting? Thanks, Stephen On Fri, May 15, 2020, 7:43 AM Paras Lehana wrote: > As a workaround, can you try field boosting? > > On Tue, 12 May 2020 at 00:45, Stephen Lewis Bianamara < > stephen.bianam...@gmail.com> wrote: >

Re: What is the logical order of applying sorts in SOLR?

2020-05-15 Thread Paras Lehana
As a workaround, can you try field boosting? On Tue, 12 May 2020 at 00:45, Stephen Lewis Bianamara < stephen.bianam...@gmail.com> wrote: > Hi SOLR Community, > > What is the order of operations which SOLR applies to sorting? I've > observed many times and across SOLR versions that a restrictive

What is the logical order of applying sorts in SOLR?

2020-05-11 Thread Stephen Lewis Bianamara
Hi SOLR Community, What is the order of operations which SOLR applies to sorting? I've observed many times and across SOLR versions that a restrictive filter with a sort takes an extremely long time to return, suggesting to me that the SORT is applied before the filter. An example situation is