Hi Sawan, If I understand the question correctly, you use MultiSearcher over three searchers s[0], s[1], s[2], get some 3000 search results, and for result x (0<=x<3000) need to know if it came from s[0], s[1], or s[2]. If so, take a look at that MultiSearcher.subSearcher(int n) (n would be the docid of result x).
Hope this helps, Doron "Sawan Sharma" <[EMAIL PROTECTED]> wrote on 24/04/2007 03:19:47: > Hi all, > > I am using MultiSearcher to search more then one Index folders. I have one > Index searcher array which contains 3 Index searchers... > 01. C:\IndexFolder1 > 02. C:\IndexFolder2 > 03. C:\IndexFolder3 > > When I searched in 3 index folders using a MultiSearcher then I got 3000 > hits. > > 1 to 1000 from C:\IndexFolder1 > 1001 to 2000 from C:\IndexFolder2 > 2001 to 3000 from C:\IndexFolder3 > > Now I want to know that which data searched in > C:\IndexFolder1,C:\IndexFolder2 or C:\IndexFolder3. > > Or I want to cluster my data according to 3 Index folders. > > I want following... > > Doc1------| > Doc2------| > Doc3------|-------------C:\IndexFolder1 > . | > DocN------| > > Doc1------| > Doc2------| > Doc3------|-------------C:\IndexFolder2 > . | > DocN------| > > Doc1------| > Doc2------| > Doc3------|-------------C:\IndexFolder3 > . | > DocN------| > > Thanks & Regards > > Sawan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]