Re: query time boosting in solr

2011-07-20 Thread Sowmya V.B.
Hi Tomas Yeah, I now understand it. I was confused about interpreting the output. Thanks for the comments. Sowmya. 2011/7/20 Tomás Fernández Löbbe > So, what you want is to have the same exact results set as if the query was > "scientific", but the documents that also match Field1:[20 TO 30]

Re: query time boosting in solr

2011-07-20 Thread Tomás Fernández Löbbe
So, what you want is to have the same exact results set as if the query was "scientific", but the documents that also match Field1:[20 TO 30] to have more score, right? On Wed, Jul 20, 2011 at 10:53 AM, Sowmya V.B. wrote: > Hi Tomas > > Here is what I was trying to give. > > > http://localhost:8

Re: query time boosting in solr

2011-07-20 Thread Sowmya V.B.
Hi Tomas Here is what I was trying to give. http://localhost:8085/apache-solr-3.3.0/select?indent=on&version=2.2&defType=dismax&q=scientific&bq=Field1:[20%20TO%2030] ^10&start=0&rows=30&qf=text&fl=Field1,docid&debugQuery=on Over here, I was trying to change the range of Field1, keeping everythin

Re: query time boosting in solr

2011-07-20 Thread Tomás Fernández Löbbe
Yes, it should, but make sure you specify at least the "qf" parameter for dismax. You can activate debugQuery and you'll see which documents get boosted and which aren't. On Wed, Jul 20, 2011 at 9:21 AM, Sowmya V.B. wrote: > Hi Tomasso > > Thanks for a quick response. > > So, if I say: > http:/

Re: query time boosting in solr

2011-07-20 Thread Sowmya V.B.
Hi Tomasso Thanks for a quick response. So, if I say: http://localhost:8085/apache-solr-3.3.0/select?indent=on&version=2.2* &defType=dismax*&q=scientific&bq=Field1:[20%20TO%2025]^10&start=0&rows=30 -will it be right? The above query: boosts the documents which suit the given query ("scientific")

Re: query time boosting in solr

2011-07-20 Thread Tomás Fernández Löbbe
Hi Sowmya, "bq" is a great way of boosting, but you have to be using the Dismax Query Parser or the Extended Dismax (edismax) query parser, it doesn't work with the Lucene Query Parser. If you can use any of those, then that's the solution. If you need to use the Lucene Query Parser, for a user que

Re: query time boosting in solr

2011-07-20 Thread Sowmya V.B.
Can anyone throw some light on this issue? My problem is to: give a query time boost to certain documents, which have a field, say field1, in the range that the user chooses during query time. I think the below link indicates a range query: http://localhost:8085/solr/select?indent=on&version=2.2&

query time boosting in solr

2011-07-19 Thread Sowmya V.B.
Hi Is query time boosting possible in Solr? Here is what I want to do: I want to boost the ranking of certain documents, which have their relevant field values, in a particular range (selected by user at query time)... when I do something like: http://localhost:8085/solr/select?indent=on&version