Have you tried simply searching across all 30
fields using (e)dismax? You can set this up in
a request handler in solrconfig.xml and forget
about it.

You could also de-boost the copied-to field
by using a boost < 1 (but > 0, e.g. 0.5).

Best
Erick

On Fri, Aug 17, 2012 at 10:13 AM, bbarani <bbar...@gmail.com> wrote:
> Thanks a lot for your reply!!
>
> This is the problem I face now when using dismax.
>
> I have almost 30 fields (Some are dynamic fields from database) copied in to
> copy field that is being used for default search. Now when I search using
> dismax I need to include the boost for all the fields in the search query
> else it returns only the result corresponding to the field in qf.
>
> http://localhost:8983/solr/db/select?q=Stanley,%20robert&defType=dismax&qf=name
>
> I get just one result for above query
>
> http://localhost:8983/solr/db/select?q=Stanley,%20robert&defType=dismax&qf=name
> lastupdatedBy
>
> Now the search happens across 2 fields.
>
> I want to boost a particular field but at the same time I want the results
> that matches keyword from other fileds too.
>
> Thanks,
> BB
>
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/How-to-boost-score-of-particular-field-in-a-copy-field-tp4001864p4001873.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to