Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9A9F017813 for ; Wed, 15 Apr 2015 19:32:52 +0000 (UTC) Received: (qmail 40570 invoked by uid 500); 15 Apr 2015 19:32:48 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 40515 invoked by uid 500); 15 Apr 2015 19:32:48 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 40492 invoked by uid 99); 15 Apr 2015 19:32:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Apr 2015 19:32:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of alinazemian@gmail.com designates 209.85.220.179 as permitted sender) Received: from [209.85.220.179] (HELO mail-qk0-f179.google.com) (209.85.220.179) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Apr 2015 19:32:20 +0000 Received: by qku63 with SMTP id 63so100341823qku.3 for ; Wed, 15 Apr 2015 12:30:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=+jDNx4UH1UJcIw4mLSLnfe5hnllY5rCCQiXqeiG4e+c=; b=GbSg5a3akUGFr6o9hoOYC6bGKu3sg4uONmeHPVlHxVZ5qbeOFAfuN9rrOD+yoaM1WF d1SyZdrxAKN/F7hyl+BhPRA0OHcuPLVerhOrAN3DgjIHoaeT78+MjmWc0ctHzHPCxZmn oo0AvLhRnaGrzQum3p95ZEuiUCgA6WJHwBYGKIg3VS8aLGD8CjnT4czUOnwmBpOgKGBi s6t09n1I7aeb/nHjPbf8sPnUcgqXVUqTDZAHU/V3b4yVhi1makO3fNykLvPLmG6dEoyM XKfUcpoBldMo7inFNO+JJqYt5I6KFeR8GNY5H+Q2TwhjN84tjrFktsO5Cg8Ka/7qL5ky hVLg== MIME-Version: 1.0 X-Received: by 10.140.28.102 with SMTP id 93mr14374371qgy.78.1429126216007; Wed, 15 Apr 2015 12:30:16 -0700 (PDT) Received: by 10.140.179.87 with HTTP; Wed, 15 Apr 2015 12:30:15 -0700 (PDT) In-Reply-To: References: Date: Thu, 16 Apr 2015 00:00:15 +0430 Message-ID: Subject: Re: Problem related to filter on Zero value for DateField From: Ali Nazemian To: "solr-user@lucene.apache.org" Content-Type: multipart/alternative; boundary=001a113a9bc071c5130513c86022 X-Virus-Checked: Checked by ClamAV on apache.org --001a113a9bc071c5130513c86022 Content-Type: text/plain; charset=UTF-8 Dear Jack, Hi, The q parameter is *:* since I just wanted to filter the documents. Regards. On Tue, Apr 14, 2015 at 8:07 PM, Jack Krupansky wrote: > What does your main query look like? Normally we don't speak of "searching" > with the fq parameter - it filters the results, but the actual searching is > done via the main query with the q parameter. > > -- Jack Krupansky > > On Tue, Apr 14, 2015 at 4:17 AM, Ali Nazemian > wrote: > > > Dears, > > Hi, > > I have strange problem with Solr 4.10.x. My problem is when I do > searching > > on solr Zero date which is "0002-11-30T00:00:00Z" if more than one filter > > be considered, the results became invalid. For example consider this > > scenario: > > When I search for a document with fq=p_date:"0002-11-30T00:00:00Z" Solr > > returns three different documents which is right for my Collection. All > of > > these three documents have same value of "7" for document status. Now If > I > > search for fq=document_status:7 the same three documents returns which is > > also a correct response. But When I do the searching on > > fq=focument_status:7&fq=p_date:"0002-11-30T00:00:00Z", Solr returns > > nothing! (0 document) While I have not such problem with other date > values > > beside Solr Zero ("0002-11-30T00:00:00Z"). Please let me know it is a bug > > related to Solr or I did something wrong? > > Best regards. > > > > -- > > A.Nazemian > > > -- A.Nazemian --001a113a9bc071c5130513c86022--