Lucene.Net support phrases?: What is best approach to tokenize comma-delimited data (atomically) in
Posted
by Pete Alvin
on Stack Overflow
See other posts from Stack Overflow
or by Pete Alvin
Published on 2010-03-15T12:48:08Z
Indexed on
2010/03/15
12:49 UTC
Read the original article
Hit count: 544
lucene
|lucene.net
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.
© Stack Overflow or respective owner