本文介绍了在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
推荐答案已多次询问:
- 获取Lucene中的术语频率
- 如何计算一组文档的术语频率?
- 从Lucene索引中获取频率最高的词条
- 如何获取solr词频?
- 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索引中计算单词频率
发布评论