Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 26875 invoked from network); 15 Sep 2006 14:34:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Sep 2006 14:34:03 -0000 Received: (qmail 46286 invoked by uid 500); 15 Sep 2006 14:33:56 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 46261 invoked by uid 500); 15 Sep 2006 14:33:56 -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 46250 invoked by uid 99); 15 Sep 2006 14:33:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Sep 2006 07:33:55 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of wataylor@as-st.com designates 216.239.128.26 as permitted sender) Received: from [216.239.128.26] (HELO smtp.omnis.com) (216.239.128.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Sep 2006 07:33:42 -0700 Received: from [192.168.6.223] (d-65-175-205-96.metrocast.net [65.175.205.96]) by smtp-relay.omnis.com (Postfix) with ESMTP id C4D1A1880A15 for ; Fri, 15 Sep 2006 07:33:14 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v624) In-Reply-To: <004601c6d8be$c4932000$6a7f6fc0@amdraht.intern.dasburo.com> References: <004601c6d8be$c4932000$6a7f6fc0@amdraht.intern.dasburo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <2f027e64bcdf45e092060cb4022e5f52@as-st.com> Content-Transfer-Encoding: quoted-printable From: Bill Taylor Subject: Re: Lucene Suggest ? Date: Fri, 15 Sep 2006 11:07:17 -0400 To: java-user@lucene.apache.org X-Mailer: Apple Mail (2.624) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Depending on the size of your index, you might want to put it in the=20 downloaded page. I have a small index of maybe 1,500 words so I have=20 the word list in the page. this is simpler than ajax, but will not=20 work for big indexes, of course. On Sep 15, 2006, at 8:02 AM, Mark M=FCller wrote: > Hi all, > I like to know if it is possible to let make Lucene Suggestions while=20= > the > user types in the search query. > > Like in Google Suggest: http://www.google.com/webhp?complete=3D1&hl=3Den= > > I just need to send with AJAX the part of the word the user already=20 > typed > and get back the list of matching terms. Even better would be if the=20= > number > of occurrences would be show at well. > > Is there a function for that in the Lucene API ? > > Thanks in Advance, > Mark > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org