Re: Query joining 2 indexes

2009-12-18 Thread frer
Just re-read my post and I don't think it was clear. The algorithm I ended up doing is: for all daily data gather hourly ids in a set build map with placeholders for hourly values get hourly documents from set for all daily data insert hourly data from document

Re: Query joining 2 indexes

2009-12-18 Thread frer
ent, you should be able to use TermDocs > to get the Hourly documents efficiently. > > Note to self: Engage brain. > > FWIW > Erick > > On Fri, Dec 18, 2009 at 11:42 AM, frer wrote: > >> >> Thanks for your answer, >> >> I didn't think t

Re: Query joining 2 indexes

2009-12-18 Thread frer
Thanks for your answer, I didn't think that using: Document doc irHourly.doc(); would be much faster than using the searcher. I will try that. I have one question though: what is the you reffer to. Since I have searched in the daily index, what is the corresponding hit on the hourly i