I have a requirement where i need to find matching docsets for different
queries and then do either union or intersection on those docsets. e.g :

DocSet docset1 = Searcher.getDocSet(query1)
DocSet docset2 = Searcher.getDocSet(query2);

Docset finalDocset = docset1.intersection(docset2);

Is this a valid approach ? Give docset could either be a sortedintdocset or
a bitdocset. I am facing ArrayIndexOutOfBoundException when
union/intersected between different kind of docsets.

Thanks and regards,
Gajendra Dadheech

Reply via email to