计算lucene索引中的词频 [英] counting the word frequency in lucene index
本文介绍了计算lucene索引中的词频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
谁能帮我找到所有lucene索引中的词频
例如,如果文档 A 有 3 个单词 (B) 而文档 C 有 2 个,我想要一个返回 5 的方法,显示所有 lucene 索引中单词 (B) 的频率
Can someone help me finding the word frequency in all lucene index
for example if doc A has 3 number of word (B) and doc C has 2 of them, I'd like a method to return 5 showing the frequency of word (B) in all lucene index
推荐答案
这个问题已经问了很多次了:
This has been asked multiple times:
这篇关于计算lucene索引中的词频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文