Re: [DISCUSS] Merge DocsEnum and DocsAndPositionsEnum into PostingsEnum

2012-11-01 Thread Robert Muir
On Thu, Nov 1, 2012 at 4:26 PM, Simon Willnauer simon.willna...@gmail.com wrote: hey folks, I have spend a hell lot of time on the positions branch to make positions and offsets working on all queries if needed. The one thing that bugged me the most is the distinction between DocsEnum and

RE: [DISCUSS] Merge DocsEnum and DocsAndPositionsEnum into PostingsEnum

2012-11-01 Thread Uwe Schindler
+1, I think PostingsEnum ist he much better idea! I was thinking about that several times. In fact DocsEnum is just a specialized DocIdSetIterator, so I never understood the difference in the early Lucene 4 days. Now we have some extra methods, but most of them are optional and a PostingsEnum

Re: [DISCUSS] Merge DocsEnum and DocsAndPositionsEnum into PostingsEnum

2012-11-01 Thread Robert Muir
On Thu, Nov 1, 2012 at 4:55 PM, Uwe Schindler u...@thetaphi.de wrote: +1, I think PostingsEnum ist he much better idea! I was thinking about that several times. In fact DocsEnum is just a specialized DocIdSetIterator, so I never understood the difference in the early Lucene 4 days. Now we

Re: [DISCUSS] Merge DocsEnum and DocsAndPositionsEnum into PostingsEnum

2012-11-01 Thread Michael McCandless
+1, this makes total sense! Mike McCandless http://blog.mikemccandless.com On Thu, Nov 1, 2012 at 5:04 PM, Robert Muir rcm...@gmail.com wrote: On Thu, Nov 1, 2012 at 4:55 PM, Uwe Schindler u...@thetaphi.de wrote: +1, I think PostingsEnum ist he much better idea! I was thinking about that