Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3F6F7D660 for ; Fri, 8 Feb 2013 20:18:30 +0000 (UTC) Received: (qmail 29092 invoked by uid 500); 8 Feb 2013 20:18:28 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 29043 invoked by uid 500); 8 Feb 2013 20:18:28 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 29033 invoked by uid 99); 8 Feb 2013 20:18:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Feb 2013 20:18:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Lisheng.Zhang@broadvision.com designates 139.56.8.26 as permitted sender) Received: from [139.56.8.26] (HELO mail-fw.broadvision.com) (139.56.8.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Feb 2013 20:18:20 +0000 X-ASG-Debug-ID: 1360354678-2c7300050000-H1Y1KX X-Barracuda-URL: http://mail-fw.broadvision.com:8000/cgi-bin/mark.cgi Received: from RW-EX2003.BROADVISION.COM (localhost [127.0.0.1]) by mail-fw.broadvision.com (Spam Firewall) with ESMTP id E20B22033F1 for ; Fri, 8 Feb 2013 12:17:58 -0800 (PST) Received: from RW-EX2003.BROADVISION.COM (rw-ex2003.broadvision.com [10.10.32.18]) by mail-fw.broadvision.com with ESMTP id RqBMR3udB5MFPH7V for ; Fri, 08 Feb 2013 12:17:58 -0800 (PST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-ASG-Orig-Subj: RE: Solr query parser, needs to call setAutoGeneratePhraseQueries(true) Subject: RE: Solr query parser, needs to call setAutoGeneratePhraseQueries(true) Date: Fri, 8 Feb 2013 12:17:58 -0800 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Wildcard in a text field Thread-Index: Ac4GLZ8gR6/GGdAyQXSq1uI4I3OSUQACi30wAABeksA= From: "Zhang, Lisheng" To: X-Barracuda-Connect: rw-ex2003.broadvision.com[10.10.32.18] X-Barracuda-Start-Time: 1360354678 X-Barracuda-Virus-Scanned: by Barracuda Spam Firewall at broadvision.com X-Virus-Checked: Checked by ClamAV on apache.org I am very sorry, I should have sent to solr user group, not lucene!! Best regards, Lisheng -----Original Message----- From: Zhang, Lisheng=20 Sent: Friday, February 08, 2013 12:17 PM To: 'java-user@lucene.apache.org' Subject: Solr query parser, needs to call setAutoGeneratePhraseQueries(true) Hi, In our application we need to call method setAutoGeneratePhraseQueries(true) on lucene QueryParser, this is the way used to work in earlier versions and it seems to me that is the much natural way? But in current solr 3.6.1, the only way to do so is to set=20 LUCENE_30 in solrconfig.xml (if I read souce code correctly), but I donot want to=20 do so because this will change the whole behavior of lucene, and I only=20 want to change this query parser behavior, not other lucene features? Please guide me if there is a better way other than to change solr = source code? Thanks very much for helps, Lisheng --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org