Re: solr boost query

2018-09-10 Thread Erick Erickson
ode:"B" > > }, > > { > > topic_code:"A" > > }, > > { > > topic_code:"A" > > }, > > { > > topic_code:"C" > > }, > > { > > topic_code:"A" > > },.. > > now i want to get respanse from

Re: solr boost query

2018-09-10 Thread Erick Erickson
> },.. > now i want to get respanse from a solr 100 dosuments , and i want to have > 70 document with topic_code:A and 10 documents with topic_code:B and 20 > document with topic_code:C. > so i guess i need SOLR BOOST QUERY. > some thing like this : > q=(topic_code:A)^70 OR (topic_code:B)^20 OR (topic_code:C)^10 & row=100 > but this isn't work. > could u help me to create a suitable query and get my best result ? > tnx.

solr boost query

2018-09-10 Thread sara hajili
de:"A" },.. now i want to get respanse from a solr 100 dosuments , and i want to have 70 document with topic_code:A and 10 documents with topic_code:B and 20 document with topic_code:C. so i guess i need SOLR BOOST QUERY. some thing like this : q=(topic_code:A)^70 OR (topic_code:B)^20 OR (top

Solr boost property through request handler in solrconfig.xml

2017-10-19 Thread ruby
If I'm not using edismax or dismax, is there a way to boost a specific property through solrconfig.xml? I'm avoiding hard-coding boost in query. Following is my the request handler in solronfig.xml right now explicit 10 myFiled OR fc

Solr boost property through request handler in solrconfig.xml

2017-10-19 Thread ruby
If I'm not using edismax or dismax, is there a way to boost a specific property through solrconfig.xml? I'm avoiding hard-coding boost in query. Following is my the request handler in solronfig.xml right now explicit 10 myFiled OR fc

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

Solr boost function taking precedence over relevance boosting

2017-10-04 Thread ruby
I have a usecase where: if a document has the search string in it's name_property field, then I want to show that document on top. If multiple document has the search string in it's name_property field then I want to sort them by creation date. Following is my query: q={!boost+b=recip(ms(NOW,crea

Solr boost function taking precedence over relevance boosting

2016-11-08 Thread ruby
ange in the Solr date boost functions? If not, then is there something wrong with my query? Is my understanding of date boost function with relevancy boosting current? Thanks, Ruby -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-boost-function-taking-precedence-over-relev

Re: Solr Boost Search word before Specific Content

2015-07-08 Thread Alessandro Benedetti
, > > 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-tp4216072p42162

Re: Solr Boost Search word before Specific Content

2015-07-08 Thread Ahmet Arslan
field^0.7&defType=edismax Ahmet On Wednesday, July 8, 2015 6:56 AM, JACK wrote: 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-Searc

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

Re: Solr Boost Search word before Specific Content

2015-07-07 Thread Ahmet Arslan
is message in context: http://lucene.472066.n3.nabble.com/Solr-Boost-Search-word-before-Specific-Content-tp4216072.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr Boost Search word before Specific Content

2015-07-07 Thread JACK
aptop bag and table dell laptop without laptop bag, In the Results search word laptop bag is before with, without,and. Search results containing search word before these word should come first. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Boost-Search-word-be

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.co

Solr: Boost of childs (json)

2014-09-23 Thread ku3ia
mple text"}, "_childDocuments_":[ { "id":"123_0", "child":"text1" }, { "id":"123_1", "child":"text2" } ] } } } How to

Re: Caching Solr boost functions?

2014-02-20 Thread Chris Hostetter
: I'd like to tell Solr to cache those boost queries for the life of the : Searcher so they don't get recomputed every time. Is there any way to do : that out of the box? if the functions never change, you could just index the computed value up front and save cycles at query time -- but that's t

Re: Caching Solr boost functions?

2014-02-19 Thread Jason Hellman
Gregg, The QueryResultCache caches a sorted int array of results matching the a query. This should overlap very nicely with your desired behavior, as a hit in this cache will not perform a Lucene query nor a need to calculate score. Now, ‘for the life of the Searcher’ is the trick here. You

Caching Solr boost functions?

2014-02-18 Thread Gregg Donovan
We're testing out a new handler that uses edismax with three different "boost" functions. One has a random() function in it, so is not very cacheable, but the other two boost functions do not change from query to query. I'd like to tell Solr to cache those boost queries for the life of the Searche

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.

[Solr boost] Date boost for certain query set

2012-10-26 Thread Alessandro Benedetti
Hi guys, I was fighting with boost factor in my edismax request handler : edismax (idente:2)^0.1 recip(ms(NOW,data),3.16e-11,1,1) I'm playing with bq( boost query) and bf (boost function). Is it possible to catenate bq and bf in certain manners? For example : I w

Re: Solr boost relevancy

2012-05-27 Thread Gau
Distance. Or am I thinking in the wrong direction? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-boost-relevancy-tp3986200p3986283.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr boost relevancy

2012-05-26 Thread Walter Underwood
es to be the next set of > results and probably Jameson as next. How do I achieve that? Thats my bigger > question? > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-boost-relevancy-tp3986200p3986280.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr boost relevancy

2012-05-26 Thread Gau
Levenstein distance, I would want Games to be the next set of results and probably Jameson as next. How do I achieve that? Thats my bigger question? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-boost-relevancy-tp3986200p3986280.html Sent from the Solr - User mailing

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
ms like "Raju" to be after that. > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-boost-relevancy-tp3986200.html > Sent from the Solr - User mailing list archive at Nabble.com.

Solr boost relevancy

2012-05-25 Thread Gau
i get Raj as the topmost results and the synonyms like "Raju" to be after that. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-boost-relevancy-tp3986200.html Sent from the Solr - User mailing list archive at Nabble.com.

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

solr boost

2007-01-12 Thread Phil Rosen
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? Thanks