Solr powered Tag Cloud

前端 未结 1 1033
南方客
南方客 2021-01-21 02:07

I seem to be stuck behind the logic of a Solr faceting-powered tag cloud. First of all, I\'m using OpenNLP to parse my docs and obtain relevant words out of it, so every single

相关标签:
1条回答
  • 2021-01-21 02:42

    I would suggest using a single words field that is multivalued and stores the list of words per document.

    having unbound number of word\d+ fields will complicate things.

    if you use a single words multivalued field you can get all the words along with their frequencies which should be enough for creating the tag cloud.

    0 讨论(0)
提交回复
热议问题