From dev-return-76688-apmail-lucene-dev-archive=lucene.apache.org@lucene.apache.org Mon Aug 1 07:13:48 2011 Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 280F978F5 for ; Mon, 1 Aug 2011 07:13:48 +0000 (UTC) Received: (qmail 41567 invoked by uid 500); 1 Aug 2011 07:13:46 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 38706 invoked by uid 500); 1 Aug 2011 07:13:37 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 38698 invoked by uid 99); 1 Aug 2011 07:13:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2011 07:13:32 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2011 07:13:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 12BD697F60 for ; Mon, 1 Aug 2011 07:13:10 +0000 (UTC) Date: Mon, 1 Aug 2011 07:13:10 +0000 (UTC) From: "Martijn van Groningen (JIRA)" To: dev@lucene.apache.org Message-ID: <1878483898.22346.1312182790073.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <3487730.234811296118903608.JavaMail.jira@thor> Subject: [jira] [Commented] (SOLR-2337) Solr needs hits= added to the log when using grouping MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13073447#comment-13073447 ] Martijn van Groningen commented on SOLR-2337: --------------------------------------------- Yes the trunk and branch3x do log the request when using grouping. The number of matches of the first command is actually logged now. > Solr needs hits= added to the log when using grouping > ------------------------------------------------------ > > Key: SOLR-2337 > URL: https://issues.apache.org/jira/browse/SOLR-2337 > Project: Solr > Issue Type: Bug > Components: SearchComponents - other > Affects Versions: 4.0 > Reporter: Bill Bell > Fix For: 4.0 > > Attachments: SOLR.2337.patch > > > We monitor the Solr logs to try to review queries that have hits=0. This enables us to improve relevancy since they are easy to find and review. > When using group=true, hits= does not show up: > {code} > 2011-01-27 01:10:16,117 INFO core.SolrCore - [collection1] webapp= path=/select params={group=true&group.field=gender&group.field=id&q=*:*} status=0 QTime=15 > {code} > The code in QueryComponent.java needs to add the matches() after calling grouping.execute() and add up the total. > It does return hits= in the log for mainResult, but not for standard grouping. > This should be easy to add since matches are defined... -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org