Re: Field Collapsing: How to estimate total number of hits

2010-05-13 Thread Sergey Shinderuk
Finally I get it working. It seems that latest SOLR-236-trunk.patch just have some bugs. I checked out an older revision of solr trunk - rev 899572 (dtd. 2010-01-15) from http://svn.apache.org/repos/asf/lucene/solr/trunk and applied SOLR-236.patch dtd. 2010-02-01. And collapsing works fine. I ge

Re: Field Collapsing: How to estimate total number of hits

2010-05-13 Thread Sergey Shinderuk
Joe, thanks for your answer. But it doesn't solve my problem. Below I gave a longer description of my problem. First of all, I checked out solr trunk revision 928303 with last change dtd. 2010-03-28. Then I applied the latest patch from SOLR-236 to get field collapsing component. After that I buil

Re: Field Collapsing: How to estimate total number of hits

2010-05-12 Thread Joe Calderon
dont know if its the best solution but i have a field i facet on called type its either 0,1, combined with collapse.facet=before i just sum all the values of the facet field to get the total number found if you dont have such a field u can always add a field with a single value --joe On Wed, May