lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kaushik <>
Subject Number of occurrences in Solr Documents
Date Thu, 29 Jun 2017 14:40:08 GMT

We are trying to get the most frequently used words in a collection. My
understanding is that using facet.field=content_txt. An e.g. of content_txt
value is "The fox jumped over another fox". In such a scenario, I am
expecting the facet to return with "fox" and with a count value of 2.
However, we end up getting "fox" with a value of 1. It appears we are
getting total number of documents that match the query as opposed to the
total number of times the word ocurred. How can the latter be achieved?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message