It Depends (tm). In this case on what you mean by "exact match". In Solr land, that has a precise meaning of a single token. So in your example it wouldn't match since you have two tokens that happen to be next to each other, not a single token"billy corgan".
But if you mean that you want a match for searching these separate different searches: "billy corgan", "billy" "corgan" then this will work just fine if you do a copyField (with the appropriate positionIncrementGap) and search for "billy corgan" as a _phrase_, that is, with quotes. Best Erick On Mon, Nov 26, 2012 at 10:00 AM, Barry Galaxy <barron.lo...@gmail.com>wrote: > thanx erick! > oh, there was a typo in my example... i meant: > > /*full_name = first_name + last_name */ > > you are correct, i would like to use keywordtokenizer to get an exact hit > on > a query such as: > > full_name:"Billy Corgan" > > coming from a source document with: > */<first_name>Billy</first_name> & > <last_name>Corgan</last_name>/* > > is this possible with 'copyField'? or should i rather index the document > with that value initially set into the <full_name> field (requiring a > change > to my ruby code)? > > cheers, > B > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Copying-few-field-using-copyField-to-non-multiValued-field-tp3066979p4022373.html > Sent from the Solr - User mailing list archive at Nabble.com. >