On Wed, May 26, 2010 at 23:30, Uwe Schindler <u...@thetaphi.de> wrote:
> I opened https://issues.apache.org/jira/browse/LUCENE-2478 and will fix soon!

It does sound like a good idea to not permit a null doc ID set, since
there is a convenient constant for the empty result anyway. :-)

And actually, it turns out that we were returning null due to a
legitimate problem, which makes it an even better idea to prohibit
returning null.  I already changed all the other places where we were
"conforming to the API" ( ;-) ) to return EMPTY_DOCIDSET anyway.

This leaves me with an even bigger mystery though, which will probably
result in another post sooner or later.

Daniel


-- 
Daniel Noll                            Forensic and eDiscovery Software
Senior Developer                              The world's most advanced
Nuix                                                email data analysis
http://nuix.com/                                and eDiscovery software

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to