Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 48330 invoked from network); 20 Feb 2011 16:11:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Feb 2011 16:11:13 -0000 Received: (qmail 1235 invoked by uid 500); 20 Feb 2011 16:11:10 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 856 invoked by uid 500); 20 Feb 2011 16:11:06 -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 847 invoked by uid 99); 20 Feb 2011 16:11:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Feb 2011 16:11:05 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.139.91.244] (HELO nm13-vm0.bullet.mail.sp2.yahoo.com) (98.139.91.244) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 20 Feb 2011 16:10:57 +0000 Received: from [98.139.91.70] by nm13.bullet.mail.sp2.yahoo.com with NNFMP; 20 Feb 2011 16:10:36 -0000 Received: from [98.139.91.7] by tm10.bullet.mail.sp2.yahoo.com with NNFMP; 20 Feb 2011 16:10:36 -0000 Received: from [127.0.0.1] by omp1007.mail.sp2.yahoo.com with NNFMP; 20 Feb 2011 16:10:36 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 765284.68229.bm@omp1007.mail.sp2.yahoo.com Received: (qmail 28922 invoked by uid 60001); 20 Feb 2011 16:10:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1298218236; bh=Le/SBzecHdI2hkagOLkcd1wrCQ0V+rFe2v5rDQTTkpE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=BibpAPK9sNsNDpLqkuGMiByOosMX1C+CrKUYyT3QwDQflwbmNcIWuqYa5dQtTFFMOy2cGSbqBaCQFeDIc8oD4fdb7RtpRMqerM8jEPhSGU7YTXAV+R+NVTw68rfH8z8GvZAdlbX+4Pvx04DAQCaaQT147KkfjpE2pCpeB0BQ+NM= 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:Content-Transfer-Encoding; b=aq6ORddr1mW+AlbeYYZf2uAs3aFf6d9tTbPnjwrmMNSYH8C7BqrubTwb/LDwO3bCfutWsV6P55e7u9yP6rkUD+jLkFYeewue2Jjh/4Y9zsxP2AtyIVAaxAuudzXab9eVdPM1S6ZopOQs7BTXUPXrh0z0i0WjtDMH+x0X/wd4lDE=; Message-ID: <212178.28190.qm@web121704.mail.ne1.yahoo.com> X-YMail-OSG: yzZ34ggVM1mVLyqWjlrBjU3vX4hn8AObDSO_zViNQZRDDRS jwWCJxAznC.daJbPyF7euZJfdw8oMfownj8MZOTc8.kCwBZ2laTKnNVRb9YO 3e8_IkusZvU1L2UKfefNFzYvCSKBbP3SF8QQWG_.U9MgCuQgJuoamFpJyNSi vwL88Hy32zZBUoQoAdllAtCcEJlV7CUpAtJ_hdcaKhPVS3xjEvyOuKysNRQ0 YnC5FHg7EWHOvIJEC0flEIBl2j558sg8nItE0CLiHqYSTf8vNACr.oHDSzFD DK8wrbd_YSQnj03QqchZ_fQ-- Received: from [95.15.74.125] by web121704.mail.ne1.yahoo.com via HTTP; Sun, 20 Feb 2011 08:10:36 PST X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.109.292656 Date: Sun, 20 Feb 2011 08:10:36 -0800 (PST) From: Ahmet Arslan Subject: Re: How to get a field that starts with a minus? To: solr-user@lucene.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =0A--- On Sun, 2/20/11, Paul Tomblin wrote:=0A=0A> Fro= m: Paul Tomblin =0A> Subject: Re: How to get a field th= at starts with a minus?=0A> To: solr-user@lucene.apache.org=0A> Date: Sunda= y, February 20, 2011, 5:53 PM=0A> Yes, it's string:=0A> =A0 =A0 =A0=A0=A0 class=3D"solr.StrField"=0A> =A0 =A0 =A0 =A0 = =A0 =A0=0A> sortMissingLast=3D"true" omitNorms=3D"true"/>=0A> =A0 =A0 =A0 = =A0 type=3D"string" stored=3D"true" indexed=3D"true"= />=0A=0A=0ANo, string is OK. In this case it is better to use raw or field = query parser. =0A=0ASolrQuery.setQuery("{!raw f=3Did}-3f66fdfb1ef5f8719f65a= 7403e93cc9d");=0A=0A=0A=0A