Re: Solr Boost Search word before Specific Content

2015-07-08 Thread Alessandro Benedetti
Thanks Ahmet for the proposed Solution, that should work, but it is really hardcoded and coupled with the specific keyword ( "with" in the example) . I recently read an article from master Doug ( http://opensourceconnections.com/blog/2014/12/08/title-search-when-relevancy-is-only-skin-deep/ ) . I

Re: Solr Boost Search word before Specific Content

2015-07-08 Thread Ahmet Arslan
Hi Jack, Here is hypothetical example: product_title_1 : dell laptop with laptop bag product_title_2 : laptop bag with cover product_title_3 : laptop bag and table You create an artificial/additional field, before_field_1 : dell laptop before_field_2 : laptop bag before_field_3 : laptop bag

Re: Solr Boost Search word before Specific Content

2015-07-07 Thread JACK
Hi Ahmet, Can you elaborate it more? Is it possible to solve my problem in Solr 5.0.0? if yes can just explain how? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Boost-Search-word-before-Specific-Content-tp4216072p4216257.html Sent from the Solr - User mailing list a

Re: Solr Boost Search word before Specific Content

2015-07-07 Thread Ahmet Arslan
Hi Jack, You may boost first n words of the product title via something like : https://issues.apache.org/jira/browse/SOLR-3925 However, I would create an additional boostable field. You can do this at index time in your indexing code. It will be easy to divide product title into two, and apply