Barry:

This is just an artifact of the output. If you set positionIncremenGap to 1
(or maybe 0, but I think 1) then phrase searches will work just fine across
multiple entries. With the proper setting for positionIncrementGap, there
is really no difference between multiValued and non-multiValued fields. I
think it defaults to 100 or something like that.

If by "exact match" you mean using something like a KeywordTokenizer, then
it wouldn't work anyway I don't think.

Best
Erick


On Wed, Nov 21, 2012 at 10:25 AM, Barry Galaxy <barron.lo...@gmail.com>wrote:

> i would also like to copy a few fields to a single-valued field.
> my reasoning for this is to then perform exact-match search on the
> concatenated field.
> e.g.
>
> full_name = first_name + last+name
>
> i would then like to search:
>
> full_name:"john foo"
>
> but copyField is making the full_name field look like this:
> <arr name="full_name">
> <str>john</str>
> <str>foo</str>
> </arr>
>
> which is not working for the exact match...
>
> ideas?
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Copying-few-field-using-copyField-to-non-multiValued-field-tp3066979p4021605.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to