开发者

Untokenized field in Lucene search

开发者 https://www.devze.com 2023-02-09 11:50 出处:网络
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.

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

精彩评论

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