Re: Google finance-like suggestible search field

2009-01-16 Thread Shalin Shekhar Mangar
Also look at ConstantScorePrefixQuery in Solr source. In the past I've used Solr with shingles and prefix queries to solve similar problems. On Thu, Jan 15, 2009 at 7:29 AM, Hayes, Peter wrote: > Hi all, > > We are trying to implement a Google finance-like suggest as you type > search field. T

Re: Google finance-like suggestible search field

2009-01-16 Thread Asbjørn A . Fellinghaug
rsday, January 15, 2009 3:25 AM > To: java-user@lucene.apache.org > Subject: Re: Google finance-like suggestible search field > > > Hi. > > Such 'autocompletion' features with Lucene could be provided with n-gram > tokenizers, as Erick states. I made a 'Bigr

RE: Google finance-like suggestible search field

2009-01-15 Thread Hayes, Peter
Thanks for your input. I will try and apply your suggestion. Thanks, Peter -Original Message- From: Asbjørn A. Fellinghaug [mailto:asbj...@fellinghaug.com] Sent: Thursday, January 15, 2009 3:25 AM To: java-user@lucene.apache.org Subject: Re: Google finance-like suggestible search

RE: Google finance-like suggestible search field

2009-01-15 Thread Hayes, Peter
>First, it's a legitimate question whether matching on single-letter >prefixes is useful for the user. If you're running into TooManyClauses, >that means (if you haven't changed the defaults) that there are more >than 1024 possibilities. Which is far too many for the user to scan through. That is

Re: Google finance-like suggestible search field

2009-01-15 Thread Asbjørn A . Fellinghaug
Hi. Such 'autocompletion' features with Lucene could be provided with n-gram tokenizers, as Erick states. I made a 'Bigram' analyzer for my master thesis, when I was doing some research on how to enhance phrase searching. This Analyzer considers pair of words as single terms. Basically, what the

Re: Google finance-like suggestible search field

2009-01-14 Thread Paul Libbrecht
(sorry to respond to myself) Le 15-janv.-09 à 08:13, Paul Libbrecht a écrit : We have a suggestion engine and we only auto-complete from 3 characters (or a number). http://draft.i2geo.net/SearchI2G/skills-text-box-editor.jsp?language=en What would be nice for your case and maybe for ours is

Re: Google finance-like suggestible search field

2009-01-14 Thread Paul Libbrecht
We have a suggestion engine and we only auto-complete from 3 characters (or a number). http://draft.i2geo.net/SearchI2G/skills-text-box-editor.jsp?language=en What would be nice for your case and maybe for ours is that this expansion done in PrefixQuery is made more explicit so that one cou

Re: Google finance-like suggestible search field

2009-01-14 Thread Erick Erickson
scale to large indices. >> >> Jack >> >> On Wed, Jan 14, 2009 at 6:18 PM, Angel, Eric >> wrote: >> >> > Peter, >> > >> > Why don't you put all your "autocompletable" values into a single >> > document field and just qu

Re: Google finance-like suggestible search field

2009-01-14 Thread Erick Erickson
ginal Message- > From: Jack Stahl [mailto:j...@yelp.com] > Sent: Wednesday, January 14, 2009 9:24 PM > To: java-user@lucene.apache.org > Subject: Re: Google finance-like suggestible search field > > Eric, > > I don't think that will work. The PrefixQuery generates a gian

RE: Google finance-like suggestible search field

2009-01-14 Thread Hayes, Peter
lot of waste in the index. Any thoughts on that approach? -Original Message- From: Jack Stahl [mailto:j...@yelp.com] Sent: Wednesday, January 14, 2009 9:24 PM To: java-user@lucene.apache.org Subject: Re: Google finance-like suggestible search field Eric, I don't think that

Re: Google finance-like suggestible search field

2009-01-14 Thread Jack Stahl
> -Original Message- > From: Hayes, Peter [mailto:peter.ha...@fmr.com] > Sent: Wednesday, January 14, 2009 6:00 PM > To: java-user@lucene.apache.org > Subject: Google finance-like suggestible search field > > Hi all, > > We are trying to implement a Google finance-like su

RE: Google finance-like suggestible search field

2009-01-14 Thread Angel, Eric
@fmr.com] Sent: Wednesday, January 14, 2009 6:00 PM To: java-user@lucene.apache.org Subject: Google finance-like suggestible search field Hi all, We are trying to implement a Google finance-like suggest as you type search field. The index is quite large and comprised of multiple fields to search across

Google finance-like suggestible search field

2009-01-14 Thread Hayes, Peter
Hi all, We are trying to implement a Google finance-like suggest as you type search field. The index is quite large and comprised of multiple fields to search across so our initial implementation was to use a BooleanQuery with multiple PrefixQuery across each field. We quickly ran into the TooMa