> 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
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
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
--- 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
Okay I think I have the idea:
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
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
you can use the ScriptTransformer to perform the boost calcualtion and addition.
http://wiki.apache.org/solr/DataImportHandler#ScriptTransformer
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