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

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 roman.ch...@gmail.commailto: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

How to use BitDocSet within a PostFilter

2015-08-02 Thread Stephen Weiss
Hi everyone, I'm trying to write a PostFilter for Solr 5.1.0, which is meant to crawl through grandchild documents during a search through the parents and filter out documents based on statistics gathered from aggregating the grandchildren together. I've been successful in getting the logic