The latter,  I believe,  but you lose the ability to give different weights
to matches on different fields.

Otis
Solr & ElasticSearch Support
http://sematext.com/
On Feb 6, 2013 2:34 PM, "adm1n" <evgeni.evg...@gmail.com> wrote:

> Hi,
>
> Let's assume I have to search for a string (textField) in 6-7 different
> fields (username, firstname, lastname, etc). Which one will have better
> performance:
> username:test OR firstname:test OR lastname:test
> or defining some copyField and searching within it like somecopyfield:test
>
>
> thanks.
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/copyField-vs-single-field-tp4038832.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to