Ah! Thanks so much!
On Thu., 12 Sep. 2019, 11:56 pm Shawn Heisey, wrote:
> On 9/12/2019 12:43 AM, Ashwin Ramesh wrote:
> > I just tried a * query with filters with fl=id,score. I noticed that all
> > scores were 1.0. Which I assume means no scoring was done. When I added a
> > sort after that te
On 9/12/2019 12:43 AM, Ashwin Ramesh wrote:
I just tried a * query with filters with fl=id,score. I noticed that all
scores were 1.0. Which I assume means no scoring was done. When I added a
sort after that test, scores were still 1.0.
I guess all I have to do is set q=* & set a sort.
Don't us
Exactly, Ashwin, as Emir said, if you are not using any map or boosting
function, your scores should be same. But, in order to answer your question
to the point, here you can do to manipulate scoring:
q.alt=*:**^0*
In simple words, I have just added *^0* to your * query that you are
presently us
Thanks Shawn & Emir,
I just tried a * query with filters with fl=id,score. I noticed that all
scores were 1.0. Which I assume means no scoring was done. When I added a
sort after that test, scores were still 1.0.
I guess all I have to do is set q=* & set a sort.
Appreciate your help,
Ash
On Th
Hi Ash,
I did not check the code, so not sure if your question is based on something
that you find in the codebase or you are just assuming that scoring is called?
I would assume differently: if you use only fq, then Solr does not have
anything to score. Also, if you order by something other tha
On 9/11/2019 5:27 PM, Ashwin Ramesh wrote:
I was wondering if there is a way we can tell solr (7.3+) to run none of
it's scoring logic. We would like to simply add a set of filter queries and
order on a specific docValue field.
e.g. "Give me all fq=color:red documents ORDER on popularityScore DE
Hi everybody,
I was wondering if there is a way we can tell solr (7.3+) to run none of
it's scoring logic. We would like to simply add a set of filter queries and
order on a specific docValue field.
e.g. "Give me all fq=color:red documents ORDER on popularityScore DESC"
Thanks in advance,
Ash