lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-3930) eDismax Multivalued boost
Date Mon, 15 Oct 2012 20:33:03 GMT

     [ https://issues.apache.org/jira/browse/SOLR-3930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hoss Man resolved SOLR-3930.
----------------------------

    Resolution: Not A Problem

the "boost" param of edismax lets you boost by function.

if you want to use it to boost documents matching a query, then you need to use the query()
function to generate a function to produces values 

http://localhost:8983/solr/select?defType=edismax&debugQuery=true&q=foo&boost=query%28{!lucene%20v=%27foo_ss:bar%27}%29

                
> eDismax Multivalued boost
> -------------------------
>
>                 Key: SOLR-3930
>                 URL: https://issues.apache.org/jira/browse/SOLR-3930
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Bill Bell
>
> Want to replace bq with boost, but we
> get the "multi-valued field issue" when we try to do the equivalent queriesŠ
> HTTP ERROR 400
> Problem accessing /solr/providersearch/select. Reason:
>     can not use FieldCache on multivalued field: specialties_ids
> q=*:*bq=multi_field:87^2&defType=dismax
> How do you do this using boost?
> q=*:*&boost=multi_field:87&defType=edismax
> We know we can use bq with edismax, but we like the "multiply" feature of
> boost.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message