I have a scenario in my project where we are using Lucene to search. I m indexing many fields. Now i store a typeId as one of those fields. The user needs to search on Type Text. But the issue is that the Type text can be later modified. But reindexing is not an option. Need some better solution,so please can Lucene users guide me with some solutions.
我能想到的解决方案是检查搜索文本是否为 TypeText, 然后将搜索文本操作到 TypeId:GuidValue, 然后打开查询 。
Lucene用户能提供一些更好的想法吗? Luceen用户对Lucene非常熟悉,阅读了各种Query类型Lucene的报价,但我理解如何最好地利用这些报价。
提前感谢。