lucenenet-dev mailing list archives

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

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.


-----Original Message-----
From: Ranga [] 
Sent: Wednesday, February 10, 2010 11:02 PM
Subject: Remove duplicates when using MultiSearcher


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



View raw message