在lucene索引中计算单词频率 [英] counting the word frequency in lucene index
本文介绍了在lucene索引中计算单词频率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人可以帮助我在所有lucene索引中找到单词频率吗?
例如,如果doc A有3个单词(B),而doc 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
推荐答案
已多次询问:
- Get term frequencies in Lucene
- How to count term frequency for set of documents?
- Get highest frequency terms from Lucene index
- How do I get solr term frequency?
这篇关于在lucene索引中计算单词频率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文