开发者

User data through indexing in lucene

开发者 https://www.devze.com 2023-04-01 11:30 出处:网络
I want to add to the document’s indexed field some user data that will be stripped by my custom tokenizer at run time and will be used by my custom filter later on,

I want to add to the document’s indexed field some user data that will be stripped by my custom tokenizer at run time and will be used by my custom filter later on,

I didn’t find a way to store user data in a public area so the filter could fetch it and 开发者_JAVA百科process it.

Any suggestions ?

Thanks in advance, Lior.


Just put it in a different (stored) field.

0

精彩评论

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