Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 78981 invoked from network); 9 Apr 2008 13:18:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Apr 2008 13:18:40 -0000 Received: (qmail 44225 invoked by uid 500); 9 Apr 2008 13:18:39 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 44065 invoked by uid 500); 9 Apr 2008 13:18:38 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 44054 invoked by uid 99); 9 Apr 2008 13:18:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Apr 2008 06:18:38 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Apr 2008 13:17:55 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JjaBj-0006iY-Ug for java-dev@lucene.apache.org; Wed, 09 Apr 2008 06:18:07 -0700 Message-ID: <16585658.post@talk.nabble.com> Date: Wed, 9 Apr 2008 06:18:07 -0700 (PDT) From: palexv To: java-dev@lucene.apache.org Subject: Storing phrases in index MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: palexv@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hello all. I have a question to advanced in lucene. I have a set of phrases which I need to store in index. Is there is a way of storing phrases as terms in index? How is the best way of writing such index? Should this field be tokenized? What is the best way of searching phrases by mask in such index? Should I use BooleanQuery, WildCartQuery or SpanQuery? How is the best way to escape from maxClauses exception when searching like a*? -- View this message in context: http://www.nabble.com/Storing-phrases-in-index-tp16585658p16585658.html Sent from the Lucene - Java Developer mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org