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 ABD109CFD for ; Thu, 12 Apr 2012 10:00:27 +0000 (UTC) Received: (qmail 75402 invoked by uid 500); 12 Apr 2012 10:00:25 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 75275 invoked by uid 500); 12 Apr 2012 10:00:24 -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 75196 invoked by uid 99); 12 Apr 2012 10:00:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2012 10:00:23 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FROM_12LTRDOM,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [80.169.233.11] (HELO mailbck.lombardodier.ch) (80.169.233.11) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2012 10:00:16 +0000 MIME-Version: 1.0 X-KeepSent: 5A182967:660E2C19-C12579DE:002BC262; type=4; flags=0; name=$KeepSent Subject: search for token starting with a wildcard To: From: v.sevel@lombardodier.com Message-ID: Date: Thu, 12 Apr 2012 11:59:28 +0200 Content-Type: multipart/alternative; boundary="=_alternative 0036035BC12579DE_=" --=_alternative 0036035BC12579DE_= Content-Type: text/plain; charset="US-ASCII" Hi, I have a large index with a field that contains a important number of terms. I knew that searching with a term starting with a wildcard was not a good idea; looking at WildcardTermEnum(IndexReader,Term) and IndexReader.terms(Term) I understand better why now. I have been asked however by my users to provide this type of feature. do you plan to address this in the future, or are there any workarounds? how do people do when they really need to be able to search for terms that start with wildcards? thanks vince ************************ DISCLAIMER ************************ This message is intended only for use by the person to whom it is addressed. It may contain information that is privileged and confidential. Its content does not constitute a formal commitment by Lombard Odier & Cie or any of its branches or affiliates. If you are not the intended recipient of this message, kindly notify the sender immediately and destroy this message. Thank You. ***************************************************************** --=_alternative 0036035BC12579DE_=--