[ https://issues.apache.org/jira/browse/SOLR-2817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123457#comment-13123457 ]
Martijn van Groningen commented on SOLR-2817: --------------------------------------------- {quote} Conclusion: I have to talk to the Drupal developers because its a parsing problem of the resultset, but didn't break that the numFound functionality? I mean it makes the use of the numFound value in relation with the group.main=true function senseless. You will always get the wrong number of found results / documents, whatever you try. {quote} Well, pagination well never work properly. So that is an issue. On the other hand numFound represents the number of documents. Maybe we need another http option that explicitly changes the meaning of numFound to represent the number of groups? Something like: group.main.numFound.grouped=true > Search result with grouping activated delivers wrong numFound value and > breaks pager. > ------------------------------------------------------------------------------------- > > Key: SOLR-2817 > URL: https://issues.apache.org/jira/browse/SOLR-2817 > Project: Solr > Issue Type: Bug > Affects Versions: 3.4 > Reporter: bronco > Priority: Blocker > Labels: grouping, solr > Fix For: 3.4 > > > I use the 3.4 brach of solr for grouping my results, but obviously there is > something wrong in my eyes. If I activate the grouping functionality I get > the expected results. In my case for example 4 rows, but the the numFound > value says it has 26 results. > This result is used by the Apache Solr Library in Drupal to calculate the > correct pager on my website. Now I get a search result page with 4 results > and a confused pager with 3 more steps to not existing search pages. > I try a lot of things including using a facet and all the other suggested > things by google but I couldn't change the numFound value to the correct one > in my case. > If I not use the group.main=true setting including a facet I get in the facet > conclusion the correct values of found results but it also say matches 6 > (numFound=6). The Apache Solr Library make it nesessary to use the > group.main=true setting because without this value the library is not able to > parse the resultset. So I get always an empty website without any results > even solr answers correctly. > Is it somehow possible to change the numFound value to the correct one of the > group count result. I think nobody groups a field and shows maybe 10 entries > which belong to the request and tell the user we have 200 other things which > are not interesting you. But I have to tell you... > Any help is apreciated to get some understanding why solr delivers me this > numFound result and how to fix this issue. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org