Reverse stemmer?

2009-10-06 Thread David Leangen
Hello, I've been using Lucene in a very basic way for some time now, and I'm starting to take advantage of some of the linguistic capabilities only now. I am making use of the snowball analyzer for stemming, and it works very well. Question: is there any such thing as a "reverse stemm

Re: surrogate pairs

2010-03-12 Thread David Leangen
Hi, Yuta-san, >> Now I use own Analyzer which based on "MeCab" (It's open source >> Japanese morphological analyzer). >> I try to modify it to support surrogate pairs. >> >> And I'm expecting the next release! Cool! I look forward to that. Is there a link somewhere to your project? I am very

How can I limit the number of hits in my query?

2007-05-14 Thread David Leangen
Hello! I am new to Lucene, so forgive me if my question is basic. I did try googling for an answer... For an ajax autocomplete widget, I am querying using Lucene. I only want to return, for example, the first 20 hits of anything that Lucene finds in whatever order Lucene gives to me. Two quest

Re: How can I limit the number of hits in my query?

2007-05-14 Thread David Leangen
Thank you very much for this. Some more questions inline... > > - How can I limit the number of hits? I don't know in >advance what the data will be, so it's not feasible for >me to use RangeQuery. > > > You can use a TopDocs or a HitCollector object wh

Re: How can I limit the number of hits in my query?

2007-05-17 Thread David Leangen
ng queries would not be > satisfactory for the user anyway, *assuming* that the user is > as impatient as I am and wants some auto-complete options > RIGHT NOW , even if you solved the TooManyClauses > issue. > > Along the same lines, another question is whether you should > tr

Re: How can I limit the number of hits in my query?

2007-05-18 Thread David Leangen
gt; On May 17, 2007, at 9:18 PM, David Leangen wrote: > > Have you ever taken a look at Google Suggest[1]? It's very fast, > > and the > > results are impressive. I think your suggestion will go a long way to > > fixing my problem, but there's probably still quit