Return-Path: Delivered-To: apmail-lucene-solr-user-archive@locus.apache.org Received: (qmail 88081 invoked from network); 12 Apr 2008 03:51:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Apr 2008 03:51:51 -0000 Received: (qmail 42825 invoked by uid 500); 12 Apr 2008 03:51:47 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 42801 invoked by uid 500); 12 Apr 2008 03:51:47 -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 42792 invoked by uid 99); 12 Apr 2008 03:51:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2008 20:51:47 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of abeba.tensai@gmail.com designates 209.85.198.250 as permitted sender) Received: from [209.85.198.250] (HELO rv-out-0506.google.com) (209.85.198.250) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Apr 2008 03:51:06 +0000 Received: by rv-out-0506.google.com with SMTP id k29so116938rvb.5 for ; Fri, 11 Apr 2008 20:51:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=+ZSIGdQYy0W/+s/02VtL9txYSzM2k46Njc+OZ3QI8fc=; b=hSO7+RCsoU601RnY/ns6qr58LOb4RC44Veu/Kflqeaoni4Am6Q1jcD3rp7QJecB+zrfXi2hzQQHhMK5/56+Yk7tcmo4XttBTPhInl/SRz/E5FxZk/PFLKMRo+4yPip2Xs/MwsScgFmYkTh2mLHHWyvIWod9HhoV3RxJ1ZY4Vi44= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=kaGFRAmApaHFH8M5Lqp22h+z5FxheoGPVLscQg6pYQ3j9DtAXobcwtOg/0/UVMR2sZXOiPJU8MXsXDwpQOQ22AsAACRZfrTp50I6C2CqJ8387Enhys4XxmDjGTG6uvoMofMCi3eP8LuVf9+mysJBg2fZ9MVsrAdKbIwn355lhx8= Received: by 10.141.18.14 with SMTP id v14mr1973004rvi.236.1207972279655; Fri, 11 Apr 2008 20:51:19 -0700 (PDT) Received: by 10.140.161.15 with HTTP; Fri, 11 Apr 2008 20:51:19 -0700 (PDT) Message-ID: <743eedfa0804112051p586a563cjc9150e1c014dfe1a@mail.gmail.com> Date: Fri, 11 Apr 2008 23:51:19 -0400 From: "Abeba Tensai" To: solr-user@lucene.apache.org Subject: filtering search using regex MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_16845_1301673.1207972279644" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_16845_1301673.1207972279644 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline hi, I have a question ... I need to be able to filter a search using a regex. I cannot used facet as the filtering is pretty complex (but easy to perform using a regex). For instance I have stored in the field ID the value 12G and I want to basically filter out all the results that are > 12 with G so for instance 14G will match but 8G and 14B would not. Using a regex this is simply "[1-9]+[3-9]G" .. i am wondering what the right approach is to tackle such a situation .. thanks. ------=_Part_16845_1301673.1207972279644--