Re: Lucene Suggest Phrase

2014-04-01 Thread Jose Carlos Canova
I've "remember now" name is /liblevenshtein works with Node.js if i am not wrong. "Lucene suggest" works on same algorithm. Which in practice is enough for words with same "character sequence". On Tue, Apr 1, 2014 at 1:30 PM, Jose Carlos Canova < jose.carlos.can...@gmail.com> wrote: > Hi, > >

Re: Lucene Suggest Phrase

2014-04-01 Thread Jose Carlos Canova
Hi, I haven't reach this point but it seems that Lucene has a "suggester" project that works over "Lucene's Index" it self which simplifies terms (for query suggestion) collecting. I saw something on GitHub to be used with javascript but i cant remember now the name of the project. att. On Tue

Re: lucene suggest

2007-08-22 Thread Karl Wettin
21 aug 2007 kl. 13.10 skrev Jens Grivolla: On 8/21/07, Heba Farouk <[EMAIL PROTECTED]> wrote: the documents are not duplicated, i mean the hits (assume that 2 documents have the same subject but with different authors, so if i'm searching the subject, the returned hits will have duplicates

Re: lucene suggest

2007-08-21 Thread Jens Grivolla
On 8/21/07, Heba Farouk <[EMAIL PROTECTED]> wrote: > the documents are not duplicated, i mean the hits (assume that 2 documents > have the same subject but with different authors, so if i'm searching the > subject, the returned hits will have duplicates ) > i was asking if i can remove duplicates

RE: lucene suggest

2007-08-21 Thread Ard Schrijvers
:S If you have two hits, you have it two times in your index, simple as that. So, you have two lucene Documents with the same subject, but with different authors, and your search for subject, well, obviously you get 2 hits. Check out luke, it will help you understand your index. Furthermore, y

RE: lucene suggest

2007-08-21 Thread Heba Farouk
the documents are not duplicated, i mean the hits (assume that 2 documents have the same subject but with different authors, so if i'm searching the subject, the returned hits will have duplicates ) i was asking if i can remove duplicates from the hits?? thanks in advance Ard Schrijvers <[EMAIL

RE: lucene suggest

2007-08-21 Thread Chhabra, Kapil
Hi, Yes there are ways and workarounds to remove duplicates based on one field. But, you should not need this if you don't index duplicates at the first place. Just put a call to "delete" from index right before you add the document to in. Best Regards, Kapil Chhabra -Original Message- Fr

RE: lucene suggest

2007-08-21 Thread Ard Schrijvers
Hello Heba, you need some lucene field that serves as an identifier for your documents that are indexed. Then, when re-indexing some documents, you can first use the identifier to delete the old indexed documents. You have to take care of this yourself. Regards Ard > > Hello > i would like

Re: Lucene Suggest ?

2006-09-15 Thread Bill Taylor
Depending on the size of your index, you might want to put it in the downloaded page. I have a small index of maybe 1,500 words so I have the word list in the page. this is simpler than ajax, but will not work for big indexes, of course. On Sep 15, 2006, at 8:02 AM, Mark Müller wrote: Hi a

Re: Lucene Suggest ?

2006-09-15 Thread Ioan Cocan
We've done something similar at http://www.123dictionar.ro. As you type, the word is sent to the server using AJAX and if an exact match is not found, a Lucene index is searched using a FuzzyQuery search. Counts are precomputed, as data is not changing. Regards, Ioan Mark Müller wrote: Hi al

Re: Lucene Suggest ?

2006-09-15 Thread karl wettin
On Fri, 2006-09-15 at 14:02 +0200, Mark Müller wrote: > Hi all, > I like to know if it is possible to let make Lucene Suggestions while the > user types in the search query. > > Like in Google Suggest: http://www.google.com/webhp?complete=1&hl=en > > I just need to send with AJAX the part of the