Document count mismatch
I've run a command to find term counts at my index: solr/select/?q=*:*rows=0facet=onfacet.field=tenowt=xmlindent=on it gives me a result like that: ... result name=response numFound=3245092 start=0 maxScore=1.0/result ... lst name=teno int name=lev3107206/int int name=tenu59821/int ... when I sum that numbers(3107206 + 59821 + ...) I get: *3245074 *however * numFound=3245092 *how it comes? *PS:* Returned list has 100 elements. Does Solr returns max 100 elements for such kind of situations?
Re: Document count mismatch
1. Try facet.missing=true to count the number of documents that do not have a value for that field. 2. Try facet.limit=n to set the number of returned facet values to a larger or smaller value than the default of 100. 3. Try reading the Faceting chapter of my book! -- Jack Krupansky -Original Message- From: Furkan KAMACI Sent: Tuesday, July 09, 2013 8:09 AM To: solr-user@lucene.apache.org Subject: Document count mismatch I've run a command to find term counts at my index: solr/select/?q=*:*rows=0facet=onfacet.field=tenowt=xmlindent=on it gives me a result like that: ... result name=response numFound=3245092 start=0 maxScore=1.0/result ... lst name=teno int name=lev3107206/int int name=tenu59821/int ... when I sum that numbers(3107206 + 59821 + ...) I get: *3245074 *however * numFound=3245092 *how it comes? *PS:* Returned list has 100 elements. Does Solr returns max 100 elements for such kind of situations?
Re: Document count mismatch
Ok, one more question. I have another field at my schema: *url*. How can I get urls at each facet? 2013/7/9 Jack Krupansky j...@basetechnology.com 1. Try facet.missing=true to count the number of documents that do not have a value for that field. 2. Try facet.limit=n to set the number of returned facet values to a larger or smaller value than the default of 100. 3. Try reading the Faceting chapter of my book! -- Jack Krupansky -Original Message- From: Furkan KAMACI Sent: Tuesday, July 09, 2013 8:09 AM To: solr-user@lucene.apache.org Subject: Document count mismatch I've run a command to find term counts at my index: solr/select/?q=*:*rows=0facet=onfacet.field=tenowt=xmlindent=on it gives me a result like that: ... result name=response numFound=3245092 start=0 maxScore=1.0/result ... lst name=teno int name=lev3107206/int int name=tenu59821/int ... when I sum that numbers(3107206 + 59821 + ...) I get: *3245074 *however * numFound=3245092 *how it comes? *PS:* Returned list has 100 elements. Does Solr returns max 100 elements for such kind of situations?
Re: Document count mismatch
I don't quite follow the question. Give us an example. -- Jack Krupansky -Original Message- From: Furkan KAMACI Sent: Tuesday, July 09, 2013 9:37 AM To: solr-user@lucene.apache.org Subject: Re: Document count mismatch Ok, one more question. I have another field at my schema: *url*. How can I get urls at each facet? 2013/7/9 Jack Krupansky j...@basetechnology.com 1. Try facet.missing=true to count the number of documents that do not have a value for that field. 2. Try facet.limit=n to set the number of returned facet values to a larger or smaller value than the default of 100. 3. Try reading the Faceting chapter of my book! -- Jack Krupansky -Original Message- From: Furkan KAMACI Sent: Tuesday, July 09, 2013 8:09 AM To: solr-user@lucene.apache.org Subject: Document count mismatch I've run a command to find term counts at my index: solr/select/?q=*:*rows=0facet=onfacet.field=tenowt=xmlindent=on it gives me a result like that: ... result name=response numFound=3245092 start=0 maxScore=1.0/result ... lst name=teno int name=lev3107206/int int name=tenu59821/int ... when I sum that numbers(3107206 + 59821 + ...) I get: *3245074 *however * numFound=3245092 *how it comes? *PS:* Returned list has 100 elements. Does Solr returns max 100 elements for such kind of situations?
Re: Document count mismatch
I've another field at my schema: it is *url*. When I get results as facet I see that there are 3107206 numbers of *lev* (int name=lev3107206/int). However what are the urls of that 3107206 documents? I tried grouping instead of facet: /solr/select/?q=*:*group=truegroup.field=langwt=xmlfl=url and I get only one result for each group. I want to get all of them. on the other hand if I change my query into that: /solr/select/?q=*:*group=truegroup.field=langwt=xmlfl=url* group.query=teno:lev* * * I get that error:* * str name=msgshard 0 did not set sort field values (FieldDoc.fields is null); you must pass fillFields=true to IndexSearcher.search on each shard/strstr name=tracejava.lang.IllegalArgumentException: shard 0 did not set sort field values (FieldDoc.fields is null); you must pass fillFields=true to IndexSearcher.search on each shard at org.apache.lucene.search.TopDocs$MergeSortQueue.init(TopDocs.java:143) at org.apache.lucene.search.TopDocs.merge(TopDocs.java:214) ... 2013/7/9 Jack Krupansky j...@basetechnology.com I don't quite follow the question. Give us an example. -- Jack Krupansky -Original Message- From: Furkan KAMACI Sent: Tuesday, July 09, 2013 9:37 AM To: solr-user@lucene.apache.org Subject: Re: Document count mismatch Ok, one more question. I have another field at my schema: *url*. How can I get urls at each facet? 2013/7/9 Jack Krupansky j...@basetechnology.com 1. Try facet.missing=true to count the number of documents that do not have a value for that field. 2. Try facet.limit=n to set the number of returned facet values to a larger or smaller value than the default of 100. 3. Try reading the Faceting chapter of my book! -- Jack Krupansky -Original Message- From: Furkan KAMACI Sent: Tuesday, July 09, 2013 8:09 AM To: solr-user@lucene.apache.org Subject: Document count mismatch I've run a command to find term counts at my index: solr/select/?q=*:*rows=0facet=onfacet.field=tenowt=xmlindent=on it gives me a result like that: ... result name=response numFound=3245092 start=0 maxScore=1.0/result ... lst name=teno int name=lev3107206/int int name=tenu59821/int ... when I sum that numbers(3107206 + 59821 + ...) I get: *3245074 *however * numFound=3245092 *how it comes? *PS:* Returned list has 100 elements. Does Solr returns max 100 elements for such kind of situations?