Re: eDismax - boost function of multiple values

2014-10-17 Thread Garth Grimm
Add fl=*,score to your URL, so that you get the “score” field back in the response. That’s the field value that generates the order of the results when sorting by relevancy. That value should go up for each boost. My initial guess is that the score is being pushed up so much by the “inhabitan

Re: eDismax - boost function of multiple values

2014-10-17 Thread Jens Mayer
@Ahmet yes I've added it. :) @Garth First here is my complete url http://localhost:8080/solr/collection1/select?q=K&wt=json&indent=true&defType=edismax&bf=ord%28inhabitants%29&bf=ord%28importance%29&qf=city^10+zip^8+suburb^2+street&mm=1&stopwords=true&lowercaseOperators=true And here the diffe

Re: eDismax - boost function of multiple values

2014-10-16 Thread Garth Grimm
Spaces should work just fine. Can you show us exactly what is happening with the score that leads you to the conclusion that it isn’t working? Some testing from an example collection I have… No boost: http://localhost:8983/solr/collection1/select?q=text%3Abook&fl=id%2Cprice%2Cyearpub%2Cscore&wt

Re: eDismax - boost function of multiple values

2014-10-16 Thread Ahmet Arslan
Hi, I forgot one ampersand in my example. Did you add it? q=foo&bf=ord(inhabitants)&bf=ord(importance) Ahmet On Thursday, October 16, 2014 4:50 PM, Jens Mayer wrote: Hey Ahmet, thanks for your answer. I've read about this on the following page: http://wiki.apache.org/solr/FunctionQuery U

Re: eDismax - boost function of multiple values

2014-10-16 Thread Jens Mayer
Hey Ahmet, thanks for your answer. I've read about this on the following page: http://wiki.apache.org/solr/FunctionQuery Using FunctionQuery point 3: "The bf parameter actually takes a list of function queries separated by whitespace and each with an optional boost." If I write it the way you s

Re: eDismax - boost function of multiple values

2014-10-14 Thread Ahmet Arslan
Hi Jens, Where did you read that you can write it separated by white spaces? bq and bf are both can be defined multiple times. q=foo&bf=ord(inhabitants)bf=ord(importance) Ahmet On Tuesday, October 14, 2014 6:34 PM, Jens Mayer wrote: Hey everyone, I have a question about the boost function

eDismax - boost function of multiple values

2014-10-14 Thread Jens Mayer
Hey everyone, I have a question about the boost function of solr. The documentation say about multiple function querys that I can write it seperated by whitespaces. Example: q=foo&bf=ord(popularity)^0.5 recip(rord(price),1,1000,1000)^0.3 Now I have two fields I like to boost. Inhabitants and im