Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@locus.apache.org Received: (qmail 76146 invoked from network); 24 Dec 2008 00:03:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Dec 2008 00:03:06 -0000 Received: (qmail 18277 invoked by uid 500); 24 Dec 2008 00:03:06 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 17881 invoked by uid 500); 24 Dec 2008 00:03:05 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 17822 invoked by uid 99); 24 Dec 2008 00:03:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Dec 2008 16:03:05 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Dec 2008 00:03:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5C930234C469 for ; Tue, 23 Dec 2008 16:02:44 -0800 (PST) Message-ID: <36267334.1230076964378.JavaMail.jira@brutus> Date: Tue, 23 Dec 2008 16:02:44 -0800 (PST) From: "Ryan McKinley (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Commented: (SOLR-936) Facet Results - REST vs SolrJ In-Reply-To: <1154828144.1230014024137.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659001#action_12659001 ] Ryan McKinley commented on SOLR-936: ------------------------------------ You may also want to check out SOLR-911 or SOLR-792 -- solrj does not deal with this functionality yet. Contributions are welcome! > Facet Results - REST vs SolrJ > ----------------------------- > > Key: SOLR-936 > URL: https://issues.apache.org/jira/browse/SOLR-936 > Project: Solr > Issue Type: Bug > Components: clients - java, search > Affects Versions: 1.4 > Reporter: Andrew Nagy > Priority: Minor > Fix For: 1.4 > > > There is a difference in the way Facet results are reported in SolrJ from the REST interface. In REST, if you apply a facet via the fq param, no matter what the count it is always reported back in the list of facets in the responses. However, with SolrJ - it only reports back facets that don't match the total number of documents. This is quite frustrating to deal with. > The difference can be seen when ORing or ANDing in the fq param. When I or to facet values together, they come back in SolrJ since their counts don't match the total docs. But if I AND them together, they don't appear in the list. So then I need to munge in the applied fq values. > Why the difference in behavior between REST and SolrJ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.