lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Garski <mgar...@myspace-inc.com>
Subject RE: Remove duplicates when using MultiSearcher
Date Thu, 11 Feb 2010 17:18:03 GMT
Ranga,

I can think of 2 ways to handling duplicates off-hand:

1) Only put unique items in the index - granted this is not always possible or preferable
depending on you application.

2) Implement your own Collector (HitCollector pre-2.9) that takes duplicates as defined by
your application into account to ensure only unique items are collected.

Michael

-----Original Message-----
From: Ranga [mailto:ranga@capdigisoft.com] 
Sent: Wednesday, February 10, 2010 11:02 PM
To: lucene-net-dev@lucene.apache.org
Subject: Remove duplicates when using MultiSearcher

Hi,

Can anyone help me?

I m using multisearcher to open multiple indexes. When I search records I m
getting duplicates. How can remove the duplicates without looping since I m
handling with Gb's of data.

 

Thanks & Regards

RANGA

 

Mime
View raw message