Re: Solr sorting and relevance

2013-03-28 Thread Joel Bernstein
Otis brings up a good point. Possibly you could put logic in your function query to account for this. But it may be that you can't achieve the mix you're looking for without taking direct control. That is the main reason that SOLR-4465 was put out there, for cases where direct control is needed. I

Re: Solr sorting and relevance

2013-03-28 Thread Otis Gospodnetic
Hi, But can you ever get this universally right? In some cases there is very little inventory and in some case there is a ton of inventory, so even if you use a small boost for inventory, when the intentory is very large, that will overpower the title boost, no? Otis -- Solr & ElasticSearch Suppo

Re: Solr sorting and relevance

2013-03-28 Thread Joel Bernstein
If you had a high boost on the title with a moderate boost on the inventory it sounds like you'd get boots first ordered by inventory followed by jeans ordered by inventory. Because the heavy title boost would move the boots to the top. You can play with the boost factors to try and get the mix you

Re: Solr sorting and relevance

2013-03-28 Thread scallawa
Thanks for the fast response. I am still just learning solr so please bear with me. This still sounds like the wrong products would appear at the top if they have more inventory unless I am misunderstanding. High boost low boost seems to make sense to me. That alone would return the more rele

Re: Solr sorting and relevance

2013-03-27 Thread Joel Bernstein
It sounds like you might be able to get the mix you want with three different boosts: 1) High boost on title 2) Lower boost on description 3) Function query boost on inventory The high boost on title will help push products with matches in the title to the top. The function query boost on invento