lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chhabra, Kapil" <kchha...@akamai.com>
Subject RE: lucene suggest
Date Tue, 21 Aug 2007 10:16:57 GMT
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-----
From: Heba Farouk [mailto:heba.farouk@yahoo.com] 
Sent: Tuesday, August 21, 2007 3:30 PM
To: Lucene mailing list
Subject: lucene suggest

Hello
i would like to implement a suggest implementation (like google suggest)
using lucene. i actually tried using lucene and it was successfull but i
was stuck in some point which is returning a list of results to the user
that have no duplicates. my question is: is there any way i can remove
duplicates with that r returned from the search in the hits or i should
manage it manually ??


thanks in advance


Yours 

Heba

       
---------------------------------
Moody friends. Drama queens. Your life? Nope! - their life, your story.
 Play Sims Stories at Yahoo! Games. 

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message