Re: solr boost query

2018-09-10 Thread Erick Erickson
You can't do this with boosting. Boosting affects scoring, i.e. the ranking. I'd expect this to show many topic As before anything else, other things being equal. For a limited number of topics, you could group by the topic and get the top 70 of each, throwing away the extras in topics B and C. Y

Re: solr boost query

2018-09-10 Thread Erick Erickson
You can't do this with boosting. Boosting affects scoring, i.e. the ranking. I'd expect this to show On Mon, Sep 10, 2018 at 12:37 AM sara hajili wrote: > > Hi > I have some docs in my solr index. and now i want to run a query. please > help me how create this query? > i have documents like this:

Re: Solr boost function taking precedence over relevance boosting

2017-10-05 Thread alessandro.benedetti
I would try to use an additive boost and the ^= boost operator: - name_property :( test^=2 ) will assign a fixed score of 2 if the match happens ( it is a constant score query) - additive boost will be 0http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

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

Re: Solr: Boost of childs (json)

2014-09-24 Thread ku3ia
ku3ia wrote > I can't find an example to post document with child boosted documents > using json update handler. > ... > How to set the "boost" of child documents?? No ideas? Is it possible at all? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Boost-of-childs-json-tp

Re: [Solr boost] Date boost for certain query set

2012-10-26 Thread Jack Krupansky
edetti Sent: Friday, October 26, 2012 8:37 AM To: solr-user@lucene.apache.org Subject: Re: [Solr boost] Date boost for certain query set I've made some steps ahead. I'm writing a function to this sort of clustered boosting: product(recip(ms(NOW,data),3.16e-11,1,1),exists(query(field:value)

Re: [Solr boost] Date boost for certain query set

2012-10-26 Thread Alessandro Benedetti
I've made some steps ahead. I'm writing a function to this sort of clustered boosting: product(recip(ms(NOW,data),3.16e-11,1,1),exists(query(field:value))) I multiply the boost, for a specific value of some field, the exists function will return 0 or 1, and this would cancel or use the date boost.

Re: Solr boost relevancy

2012-05-27 Thread Gau
Wait, I thought the fuzzy match is invoked with a ~. I am not invoking any ~ but expanding my query terms with the synonyms at query time. So from what I understarnd, when I query for James, internally, Solr would expand using synonym search to James, Jim, Games, Jameson. So I guess, the original i

Re: Solr boost relevancy

2012-05-26 Thread Walter Underwood
Solr automatically scales the scores of fuzzy matches by their distance from an exact match. So, you don't have to change anything. wunder On May 26, 2012, at 11:52 PM, Gau wrote: > Hi Lori, > > Yeah. I thought exactly of the same solution. Use a copy field and boost > the relevancy of the t

Re: Solr boost relevancy

2012-05-26 Thread Gau
Hi Lori, Yeah. I thought exactly of the same solution. Use a copy field and boost the relevancy of the the exact match. But my question is more broad here. For eg, if i have a synonym for James as Jim, Games, Jimmy, Jameson And if I normalize the tf, norm, etc factors to 1, on searching for J

Re: Solr boost relevancy

2012-05-26 Thread Ahmet Arslan
> Consider a db of just names. Now if I > use synonym expansion at query time, I > get a set of results. > (Background: I created a class, which resets idf, tf, .. > .all to 1) since > they dont matter to me anymore. What really matters is, how > closely does the > query match to the given name.

Re: Solr boost relevancy

2012-05-26 Thread Lee Carroll
I'm not sure about your approach, turning off most of the features which produce a similarity measure in a vsm and then wanting to sort by a similarity could lead to pain. (I don't know your usecase so this could still be valid) One approach to, (well what I think your usecase might be...) is to u

Re: solr boost

2007-01-12 Thread Yonik Seeley
On 1/12/07, Phil Rosen <[EMAIL PROTECTED]> wrote: I am looking for documentation on how to boost a document when adding via http post but am not finding any. Anyone have a pointer on this? http://wiki.apache.org/solr/UpdateXmlMessages [...] -Yonik