lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Grivolla" <j+luc...@grivolla.net>
Subject Re: lucene suggest
Date Tue, 21 Aug 2007 11:10:50 GMT
On 8/21/07, Heba Farouk <heba.farouk@yahoo.com> 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 from the hits??

You may not want to work with documents at all (where you have the
duplicates), but rather with the terms in your index directly.  Take a
look at WildcardTermEnum etc.

Ciao,
    Jens

---------------------------------------------------------------------
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