Hello,
I just wanted to let you know that the issue is resolved. I am using
int searcherIndex = multiSearcher.subSearcher(hits.id(i));
where i is the index in the hits.
It works fine! Thanks to everybody for this solution!
Peter
---
On Tuesday 29 November 2005 22:42, Paul Elschot wrote:
> On Tuesday 29 November 2005 14:47, [EMAIL PROTECTED] wrote:
> > Hello,
> >
> > I am searching over multiple indices using MultiSearcher. Thus I get hits
> > from various indices. Is it possible to determine from which index a hit
> > comes?
On Tuesday 29 November 2005 14:47, [EMAIL PROTECTED] wrote:
> Hello,
>
> I am searching over multiple indices using MultiSearcher. Thus I get hits
> from various indices. Is it possible to determine from which index a hit
> comes?
Yes: use the subIndex() and maybe subDoc() methods here:
http://l
There's a public method "int subSearcher(int n)" in MultiSearcher.
If you pass it a document id (not the hit sequence number!), it returns the
number of the searcher that contains that document id (in the array you passed
to the constructor of MultiSearcher)
Luc
-Original Message-
From