Re: DocSlice andNotSize

2009-07-03 Thread Yonik Seeley
I've opened a JIRA issue for this: https://issues.apache.org/jira/browse/SOLR-1260 And what I meant by "set operations were only designed for DocSets (as opposed to DocLists)" I meant that Solr has never done set operations on DocList objects AFAIK, and so there aren't any tests for it. -Yonik h

Re: DocSlice andNotSize

2009-07-03 Thread Ben
DocSet isn't an object it's an interface. The DocSlice class *implements* DocSet. What you're saying about set operations not working for DocSlice but working for DocSet then doesn't make any sense... can you clarify? The failure of these set operations to work as expected is confusing the hel

Re: DocSlice andNotSize

2009-07-02 Thread Yonik Seeley
On Thu, Jul 2, 2009 at 4:24 PM, Candide Kemmler wrote: > I have a simple question rel the DocSlice class. I'm trying to use the (very > handy) set operations on DocSlices and I'm rather confused by the way it > behaves. > > I have 2 DocSlices, atlDocs which, by looking at the debugger, holds a > "d

DocSlice andNotSize

2009-07-02 Thread Candide Kemmler
Hi, I have a simple question rel the DocSlice class. I'm trying to use the (very handy) set operations on DocSlices and I'm rather confused by the way it behaves. I have 2 DocSlices, atlDocs which, by looking at the debugger, holds a "docs" array of ints of size 1; the second DocSlice is