RE: QueryResponse ordering

2021-01-14 Thread Srinivas Kashyap
e to fetch the QueryResponse(SolrJ) solrdocumentList sorted based on this sorting criteria. Yes, I understand bosst parameter bq doesn't apply on filter queries. Is there an alternative? Thanks, Srinivas From: Alessandro Benedetti Sent: 14 January 2021 01:55 To: solr-user@lucene.apache.org

Re: QueryResponse ordering

2021-01-13 Thread Alessandro Benedetti
Hi Srinivas, Filter queries don't impact scoring but only matching. So, what is the ordering you are expecting? A bq (boost query) parameter will add a clause to the query, impacting the score in an additive way. The query you posted is a bit confused, what was your intent there? To boost search re

QueryResponse ordering

2021-01-13 Thread Srinivas Kashyap
Hello, I have a scenario where I'm using filter query to fetch the results. Example: Filter query(fq) - PARTY_ID:(abc OR def OR ghi) Now I'm getting query response through solrJ in different order. Is there a way I can get the results in same order as specified in filter query? Tried dismax bo