lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nader Henein <...@bayt.net>
Subject Re: MergerIndex + Searchables
Date Tue, 21 Dec 2004 08:09:01 GMT

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: lucene-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message