Re: faceting over field not in all documents

2010-07-13 Thread Rebecca Watson
brilliant! thanks very much for your help :) On 13 July 2010 21:47, Jonathan Rochkind wrote: >> i'm hoping that -- faceting simply calculates+returns the counts for docs >> that >> have the field present while results may still contain documents that don't >> have the facet field (i.e. the field

RE: faceting over field not in all documents

2010-07-13 Thread Jonathan Rochkind
> i'm hoping that -- faceting simply calculates+returns the counts for docs that > have the field present while results may still contain documents that don't > have the facet field (i.e. the field faceted on)? Yes, that's exactly what happens. You can use facet.missing to get a count for documen

Re: faceting over field not in all documents

2010-07-13 Thread Ahmet Arslan
> i'm hoping that -- faceting simply calculates+returns the > counts for docs that > have the field present while results may still contain > documents that don't > have the facet field (i.e. the field faceted on)? http://wiki.apache.org/solr/SimpleFacetParameters#facet.missing ?