开发者

Untokenized field in Lucene search

I have stored a field in index file which is untokenized. When I try to get that field value from the index file I'm not able to do get it.

Note: I have another one untokenized field, there I'm able to get that value, the data stored in this field are not having any white spaces among this.

Example: (smith,david,walter,john)... But the one I'm asking is having white 开发者_StackOverflow中文版spaces among it. Example: (david smith,mark john,bill man)...

I don't think this might be the reason.

Your help is appreciated.


Remember that tokenization or lack of it has to be done both while indexing and searching. Did you try using a keywordTokenizer in the search side?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜