Le Samedi 13 Janvier 2007 12:34, Erik Hatcher a écrit :
> On Jan 13, 2007, at 3:12 AM, Stefano Mazzocchi wrote:
> > karl wettin wrote:
> >> I got your address wrong..
> >
> > The paper doesn't simply talk about autocompletion, but about fast
> > context-bound completion. AFAIK, lucene doesn't support this or am I
> > missing something?
>
> As for fast context-bound completion, I think what I've done in
> Collex is what is meant by that.  For example, go to http://
> www.nines.org/collex and type "luc" into the phrase search box.  What
> gets returned in the drop down are terms with that prefix and the
> counts within the context of the current constraints.  Add a
> constraint and the suggest list changes.  This is implemented in Solr
> using a custom request handler that gets passed the current
> constraints and the prefix typed by the user, and intersecting term
> query document sets (for each matching term) with the constraint
> document set to get the count.  Zero counts are ignored.
>
> Are we getting warmer?

I have not finished reading the document, but ASAIU, I think Lucene is still 
missing a PrefixSpanQuery (not hard at all I think) to implement correctly 
the main feature presented here. The exemple of the search "ontol sem" should 
be a near span query of two prefix span queries. Or maybe a 
PrefixPhraseQuery ? I haven't looked enought close to it to know what are the 
differences between the two.

Nicolas

>
>       Erik
>
> >> Vidarebefordrat brev:
> >>> Från: karl wettin <[EMAIL PROTECTED]>
> >>> Datum: lördag 13 jan 2007 06.29.02 GMT+01:00
> >>> Till: java-dev@lucene.apache.org
> >>> Kopia: [EMAIL PROTECTED]
> >>> Ämne: Re: don't miss this
> >>>
> >>> 13 jan 2007 kl. 06.02 skrev Erik Hatcher:
> >>>> I doubt Stefano minds if I pass this on here as food for thought...
> >>>>
> >>>>> From: Stefano Mazzocchi <[EMAIL PROTECTED]>
> >>>>>
> >>>>> http://search.mpi-inf.mpg.de/
> >>>>>
> >>>>> and their paper
> >>>>>
> >>>>> http://www-db.cs.wisc.edu/cidr/cidr2007/papers/P09.pdf
> >>>>>
> >>>>> I think it would be pretty cool to have this feature in Lucene,
> >>>>> don't
> >>>>> you think?
> >>>
> >>> What part of it? I posted an ajax auto complete thingy a couple of
> >>> months ago:
> >>>
> >>> https://issues.apache.org/jira/browse/LUCENE-625
> >
> > --
> > Stefano.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to