Re: Softer version of grouping and/or filter query

2019-05-13 Thread Edward Ribeiro
Cool! Paraphrasing 'Solr in Action' book: edismax is the query parser to use when dealing with users' queries. It has a lot of customization options and is more resilient to ill-formed queries than lucene-parser. Whenever possible, take some time to dig deeper into those. :) Regards, Edward On Fr

Re: Softer version of grouping and/or filter query

2019-05-10 Thread Doug Reeder
Thanks much! I dropped price from the fq term, changed to an edismax parser, and boosted with bq=price:[150+TO+*]^100 On Thu, May 9, 2019 at 7:21 AM Edward Ribeiro wrote: > Em qua, 8 de mai de 2019 18:56, Doug Reeder > escreveu: > > > > > Similarly, we have a filter query that only returns p

Re: Softer version of grouping and/or filter query

2019-05-09 Thread Edward Ribeiro
Em qua, 8 de mai de 2019 18:56, Doug Reeder escreveu: > > Similarly, we have a filter query that only returns products over $150: > fq=price:[150+TO+*] > > Can this be changed to a q or qf parameter where products less than $150 > have score less than any product priced $150 or more? (A price hig

Re: Softer version of grouping and/or filter query

2019-05-08 Thread Emir Arnautović
Hi Doug, It seems to me that you’ve found a way to increase score for those that are within selected price range, but “A price higher than $150 should not increase the score”. I’ll just remind you that scores in Solr are relevant to query and that you cannot do much other than sorting on it so i

Softer version of grouping and/or filter query

2019-05-08 Thread Doug Reeder
We have a query to return products related to a given product. To give some variety to the results, we group by vendor: group=true&group.main=true&group.field=merchantId We need at least four results to display. Unfortunately, some categories don't have a lot of products, and grouping takes us (sa