Re: How to use BitDocSet within a PostFilter

2015-08-03 Thread Stephen Weiss
Yes that was it. Had no idea this was an issue! On Monday, August 3, 2015, Roman Chyla mailto:roman.ch...@gmail.com>> wrote: Hi, inStockSkusBitSet.get(currentChildDocNumber) Is that child a lucene id? If yes, does it include offset? Every index segment starts at a different point, but docs are

Re: How to use BitDocSet within a PostFilter

2015-08-03 Thread Roman Chyla
Hi, inStockSkusBitSet.get(currentChildDocNumber) Is that child a lucene id? If yes, does it include offset? Every index segment starts at a different point, but docs are numbered from zero. So to check them against the full index bitset, I'd be doing Bitset.exists(indexBase + docid) Just one thin