As obvious as it may seem, you could always store the index ID in which you are indexing the document in the document itself and have that fetched with the search results, or is there something stopping you from doing that.


Nader Henein


Karthik N S wrote:

Hi Guys

Apologies...............


I have several MERGERINDEXES [ MGR1,MGR2,MGR3....].

for searching across these MERGERINDEXES I use the following Code
IndexSearcher[] indexToSearch = new IndexSearcher[CNTINDXDBOOK];

for(int all=0;all<CNTINDXDBOOK;all++){
   indexToSearch[all] = new IndexSearcher(INDEXEDBOOKS[all]);
    System.out.println(all + " ADDED TO SEARCHABLES " + INDEXEDBOOKS[all]);
}

MultiSearcher searcher = new MultiSearcher(indexToSearch);


Question :

When on Search Process , How to Display that this relevan  Document Id
Originated from Which MRG???

[ Some thing like this : -  Search word  'ISBN12345' is avalible from
"MRGx" ]



     WITH WARM REGARDS
     HAVE A NICE DAY
     [ N.S.KARTHIK]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]







--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to