Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 31825 invoked from network); 16 Jul 2010 01:01:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Jul 2010 01:01:16 -0000 Received: (qmail 60291 invoked by uid 500); 16 Jul 2010 01:01:13 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 60230 invoked by uid 500); 16 Jul 2010 01:01:13 -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 60222 invoked by uid 99); 16 Jul 2010 01:01:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jul 2010 01:01:13 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS,T_FRT_ADULT2,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yseeley@gmail.com designates 74.125.82.48 as permitted sender) Received: from [74.125.82.48] (HELO mail-ww0-f48.google.com) (74.125.82.48) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jul 2010 01:01:07 +0000 Received: by wwb18 with SMTP id 18so625861wwb.5 for ; Thu, 15 Jul 2010 18:00:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=yIcpIXpJObdpJSO2aKl9590fjxSAa86wOuWBeePDvno=; b=Ew8Fvn8k18GAhGseAObyPICeXf6uqyITG3emGlctR7Pa7GvNWqUzhYAtLaPlnZzPYz GFRD2xV9UFzHlZ7+0utVGIflYkK6zqpwdraSZ77Y8qDpfvfKuXdrQKi78hiE+Gc80X4z 7cH49IcWGQ1P2eOXegH8VWj41QKVhX9ZJxX44= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=o85lEa5lTZFz1vPmatSPBZsyFGxdqF2xtBSwOONHEWM8B3NXI8csQxm7gNpWLw6r0X /kv1cqS8WgxQ1ct19/ooo+MoKpjthHe+CEUOfYqh7bU0HRewytX8v48zXmmbuTifC+EY ZxGbQzsUNd7scjHRtyLzLY96To+/Owjugh2bc= MIME-Version: 1.0 Received: by 10.216.232.90 with SMTP id m68mr141521weq.10.1279242047134; Thu, 15 Jul 2010 18:00:47 -0700 (PDT) Sender: yseeley@gmail.com Reply-To: yonik@lucidimagination.com Received: by 10.216.209.198 with HTTP; Thu, 15 Jul 2010 18:00:47 -0700 (PDT) In-Reply-To: References: <4C3F9A28.5070900@r.email.ne.jp> Date: Thu, 15 Jul 2010 21:00:47 -0400 X-Google-Sender-Auth: JZg94Tskr5f5Q5KwSwQ0EIq-Qok Message-ID: Subject: Re: range query on TrieLongField - strange result? From: Yonik Seeley To: solr-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Yikes... confirmed! Something is very wrong here. -Yonik http://www.lucidimagination.com On Thu, Jul 15, 2010 at 8:47 PM, Yonik Seeley wrote: > Hmmm, I'll try and duplicate. > > -Yonik > http://www.lucidimagination.com > > 2010/7/15 Koji Sekiguchi : >> I see different results between SortableLongField and TrieLongField >> when I try same range query. >> >> This is the test data: >> >> >> >> ZERO >> 0 >> 0 >> >> >> Long.MAX_VALUE-1000 >> 9223372036854774807 >> 9223372036854774807 >> >> >> Long.MAX_VALUE >> 9223372036854775807 >> 9223372036854775807 >> >> >> >> where f_tl is TrieLongField and f_sl is SortableLongField. >> The test data consist of 3 docs. The first doc number is 0. >> The second is "Long.MAX_VALUE minus 1,000". The third >> value is "Long.MAX_VALUE". >> >> I posted the data and queried on f_sl: >> >> q=f_sl:[9223372036854775807 TO 9223372036854775807] >> >> Solr returned the third doc and I think it was correct. >> But I did same range query on f_tl field, Solr returned 3 docs. >> >> Am I missing something? >> >> Koji >> >> -- >> http://www.rondhuit.com/en/ >> >> >