Reputation: 4790
I have a database with a column I wish to index that has comma-delimited names, e.g.,
User.FullNameList = "Helen Ready, Phil Collins, Brad Paisley"
I prefer to tokenize each name atomically (name as a whole searchable entity). What is the best approach for this?
Or does Lucene.net not support phrases?
Or is it smart enough to handle this use case automatically?
I'm sure I'm not the first person to have to do this. Googling produced no noticeable solutions.
*** EDIT: using my example, I want to store these name phrases in a single field:
Helen Ready
Phil Collins
Brad Paisley
NOT these individual words:
Helen
Ready
Phil
Collins
Brad
Paisley
Upvotes: 1
Views: 1018
Reputation: 12853
You can split the string by comma yourself, and either --
Upvotes: 0
Reputation: 20621
Edit: Having read your clarification, here is hopefully a more relevant answer:
Upvotes: 1