ode:"B"
> > },
> > {
> > topic_code:"A"
> > },
> > {
> > topic_code:"A"
> > },
> > {
> > topic_code:"C"
> > },
> > {
> > topic_code:"A"
> > },..
> > now i want to get respanse from
> },..
> 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.
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
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
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
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
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
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
,
>
> 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
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
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
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.
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
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
mple text"},
"_childDocuments_":[
{
"id":"123_0",
"child":"text1"
},
{
"id":"123_1",
"child":"text2"
}
]
}
}
}
How to
: 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
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
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
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)
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.
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
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.
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.
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
> 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.
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.
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.
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
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
29 matches
Mail list logo