You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Shai Erera <se...@gmail.com> on 2012/12/06 10:15:11 UTC
Add FLAGS_NONE to DocsEnum and DocsAndPositionsEnum
Hi
I wrote some code which calls termsEnum.docs() and only needs the doc IDs,
not frequencies.
It wasn't clear to me that I can pass flags=0 to the call, until I looked
at the code which consumes the flags.
Maybe we should add FLAGS_NONE=0 to these two classes, or at least document
it?
Shai