Re: docBoost with "fq" search

2012-03-09 Thread Ahmet Arslan
> if you store your boost in a search-able numeric field... You can simply sort by that field too. q=*:*&sort=your_boost_field desc

Re: docBoost with "fq" search

2012-03-09 Thread Tanguy Moal
Hi Gian Marco, I don't know if it's possible to exploit documents' boost values from function queries (see http://wiki.apache.org/solr/FunctionQuery), but if you store your boost in a search-able numeric field, you could either : do q=*:* AND _val_:"your_boost_field" if you're using default

Re: docBoost with "fq" search

2012-03-09 Thread Gian Marco Tagliani
Hi Ahmet, thanks for the answer. I'm really suprised because I always thought docBoost as a kind of sorting tool. And I used in that way, I'm giving big boost to the documents I want back first in search. Do you think there is a trick to force the usage of docBoost in my special case? Gian Ma

Re: docBoost with "fq" search

2012-03-07 Thread Ahmet Arslan
--- On Wed, 3/7/12, Gian Marco Tagliani wrote: > From: Gian Marco Tagliani > Subject: docBoost with "fq" search > To: solr-user@lucene.apache.org > Date: Wednesday, March 7, 2012, 3:11 PM > Hi All, > I'm seeing strange behavior with my Solr (version 3.4). > > For searching I'm using the "q" a

Re: docBoost

2011-03-10 Thread Brian Lamb
Okay I think I have the idea:

Re: docBoost

2011-03-09 Thread Bill Bell
Yes just add if statement based on a field type and do a row.put() only if that other value is a certain value. On 3/9/11 1:39 PM, "Brian Lamb" wrote: >That makes sense. As a follow up, is there a way to only conditionally use >the boost score? For example, in some cases I want to use the boos

Re: docBoost

2011-03-09 Thread Brian Lamb
That makes sense. As a follow up, is there a way to only conditionally use the boost score? For example, in some cases I want to use the boost score and in other cases I want all documents to be treated equally. On Wed, Mar 9, 2011 at 2:42 PM, Jayendra Patil wrote: > you can use the ScriptTransf

Re: docBoost

2011-03-09 Thread Jayendra Patil
you can use the ScriptTransformer to perform the boost calcualtion and addition. http://wiki.apache.org/solr/DataImportHandler#ScriptTransformer

Re: docBoost

2011-03-09 Thread Brian Lamb
Anyone have any clue on this on? On Tue, Mar 8, 2011 at 2:11 PM, Brian Lamb wrote: > Hi all, > > I am using dataimport to create my index and I want to use docBoost to > assign some higher weights to certain docs. I understand the concept behind > docBoost but I haven't been able to find an examp