On Fri, Jan 27, 2012 at 3:21 PM, Hany Azzam <h...@eecs.qmul.ac.uk> wrote: > Hi, > > I have two indexes. One that contains all the documents in the collection and > the other contains only the relevant documents. I am using Lucene 4.0 and the > new SimilariyBase class to build my retrieval models (similarity functions). > One of the retrieval models requires statistics to be computed across both of > the indexes. How can an IndexSearcher use the two indexes at the same time to > compute different components of the retrieval model? Is that possible? >
you can make a multireader over the two indexreaders, then make an indexsearcher over that multireader... or are you trying to do something else? -- lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org