Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 14897 invoked from network); 18 May 2010 15:36:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 May 2010 15:36:48 -0000 Received: (qmail 86376 invoked by uid 500); 18 May 2010 15:36:44 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 86341 invoked by uid 500); 18 May 2010 15:36:44 -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 86333 invoked by uid 99); 18 May 2010 15:36:44 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 15:36:44 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [206.190.49.16] (HELO web52906.mail.re2.yahoo.com) (206.190.49.16) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 18 May 2010 15:36:21 +0000 Received: (qmail 31429 invoked by uid 60001); 18 May 2010 15:35:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1274196959; bh=cYqW25KF322fwbaIlYFTqnBH9WeRfld5KGnBe1XawNE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=Oj1KL6WPyLh9hbAN8KeXdeqCVBkm1NHgmc6VhWC+PLTrP6EJelrbUPb/li5nVFTMI6lOUmKoJjCWSU6Ajka9y+9ro5odGknqQkv76L/SlcZcg45PBDpeAGH726qJsY2GFyFYPFFzZyKFrcn1eY18YspTn1+ye4pMgvZbrZHKdRU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=RdVmizX8ErkGwol64SFn3VGWLrfDJ8mvE+hs5IZiE7xJEMsalyq3JYTrLJ4gHN6n7OhteEmJEuwvkMg2v9M6Q8VuxPXshzDSG0Ydv55Hy35vOLUZ+Qrke7CBta/hwF0v/jhxQVzTn2ASyhFKoYXv1w0qaykJED6SpfMoswcB9no=; Message-ID: <461192.30208.qm@web52906.mail.re2.yahoo.com> X-YMail-OSG: 3RHHjsAVM1kteUqNt9yQfNDvmX3sokEO8rDlBIzeB6sNGy2 B3wZFBXNDvIqWnVQ2w_NdfUWhYTqdfi2fq_rbo4aogOvKqVV0Xk8vPpPw5qA gIhJIX3Fyf69opF1xOyvG.lkJpEuVScP6aGdx0HB7xTRZfLi6XskoG_1d0ff Sr7wiQ1dXILOS9Cxnc2Vl0uabJ8s5OBlHzOWh1fJYmDMxT_x4GMNGZZHkLCg GcQvJu6ar44D7uCKnreujAJRA2.J6u_Ojn6yQbkotJVPp76Ru45LaAmHEbbX un_GG3LtCxIFStSAIAJciLp_loledW9_6ixlwFbqkkhfPYg-- Received: from [95.15.158.14] by web52906.mail.re2.yahoo.com via HTTP; Tue, 18 May 2010 08:35:59 PDT X-Mailer: YahooMailClassic/11.0.8 YahooMailWebService/0.8.103.269680 Date: Tue, 18 May 2010 08:35:59 -0700 (PDT) From: Ahmet Arslan Subject: RE: how to achieve filters To: solr-user@lucene.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org > Yep content is string, and bitrate is int. bitrate should be trie based tint, not int, for range queries work correctly. > I am digging more now Can we combine both the scenarios. > > q=rock&fq={!field f=content}mp3 > q=rock&fq:bitrate:[* TO 128] > > Say if I want only mp3 from 0 to 128 You can append filter queries (fq) as many as you want. &q=rock&fq={!field f=content}mp3&fq=bitrate:[* TO 128]