Mikhail, Do you say, that it is not possible to access the matched terms positions in the FacetComponent? If that would be possible (somewhere in the StandardFacetsAccumulator class, where docids are available), then by knowing the matched term positions I can do some school simple math to calculate the sentence counts per doc id.
Dmitry On Fri, Jan 18, 2013 at 2:45 PM, Mikhail Khludnev < mkhlud...@griddynamics.com> wrote: > Dmitry, > > It definitely seems like postptocessing highlighter's output. The also > approach is: > - limit number of occurrences of a word in a sentence to 1 > - play with facet by function patch > https://issues.apache.org/jira/browse/SOLR-1581 accomplished by tf() > function. > > It doesn't seem like much help. > > On Fri, Jan 18, 2013 at 12:42 PM, Dmitry Kan <solrexp...@gmail.com> wrote: > > > that we actually require the count of the sentences inside > > each document where the hits were found. > > > > > > > -- > Sincerely yours > Mikhail Khludnev > Principal Engineer, > Grid Dynamics > > <http://www.griddynamics.com> > <mkhlud...@griddynamics.com> >