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
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
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
>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
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
(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
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
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
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
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
> -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
@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
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
13 matches
Mail list logo