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?
- Did I miss a simple option to set the tokenize delimiter?
- Do I have to subclass or write my own class that to roll my own tokenizer?
- Something else? ;)
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