Re: Boost documents having a field value

2014-06-03 Thread Hakim Benoudjit
Thanks for all of your suggestions.
I will use *bq=field:value *and it's working well, I dont think I'll need
to use *bf*.


2014-06-03 8:42 GMT+01:00 rulinma :

> function also can be use.
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Boost-documents-having-a-field-value-tp4139342p4139486.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Hakim Benoudjit.


Re: Boost documents having a field value

2014-06-03 Thread rulinma
function also can be use.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Boost-documents-having-a-field-value-tp4139342p4139486.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Boost documents having a field value

2014-06-02 Thread Alvaro Cabrerizo
Hi,

One option (not tested by myself), could be the use of payloads (
http://wiki.apache.org/solr/Payloads).

Regards.


On Mon, Jun 2, 2014 at 7:58 PM, Hakim Benoudjit 
wrote:

> Hi guys,
> Is it possible in solr to boost documents having a field value (Ex.
> :)?
> I know that it's possible to boost a field above other fields at
> query-time, but I want to boost a field value not the field name.
> And if so, is the boosting done at query time or on indexing?
>
> --
> Hakim Benoudjit.
>


Re: Boost documents having a field value

2014-06-02 Thread Jason Hellman
Hakim,

That is what Boost Query (bq=) does.

http://wiki.apache.org/solr/DisMaxQParserPlugin#bq_.28Boost_Query.29

Jason


On Jun 2, 2014, at 10:58 AM, Hakim Benoudjit  wrote:

> Hi guys,
> Is it possible in solr to boost documents having a field value (Ex.
> :)?
> I know that it's possible to boost a field above other fields at
> query-time, but I want to boost a field value not the field name.
> And if so, is the boosting done at query time or on indexing?
> 
> -- 
> Hakim Benoudjit.



Boost documents having a field value

2014-06-02 Thread Hakim Benoudjit
Hi guys,
Is it possible in solr to boost documents having a field value (Ex.
:)?
I know that it's possible to boost a field above other fields at
query-time, but I want to boost a field value not the field name.
And if so, is the boosting done at query time or on indexing?

-- 
Hakim Benoudjit.