Hallo Preetham, never heard of this. What Lucene version do you use? To check out, try the search in andifferent way: Combine the two indexes not into a MultiSearcher, instead open an IndexReader for both indexes and combine both readers to a MultiReader. This MultiReader can be used like a conventional single index and searched with IndexSearcher. If the error then disappears, there may be a bug. If not, something with your indexes is wrong.
I always recommend to only use MultiSearcher in distributed or parallel search scenarios, never for just combining two indexes. Uwe ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -----Original Message----- > From: Preetham Kajekar [mailto:preet...@cisco.com] > Sent: Friday, April 10, 2009 9:43 AM > To: java-user@lucene.apache.org > Subject: MultiSearcher query with Sort option > > Hi, > I am using a MultiSearcher to search 2 indexes. As part of my query, I > am sorting the results based on a field (which in NOT_ANALYSED). > However, i seem to be getting hits only from one of the indexes. If I > change to Sort.INDEX_ORDER, I seem to be getting results from both. Is > this a know problem ? > > Thanks, > ~preetham > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org