Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Combining filterlists

Copy link to this message
Re: Combining filterlists
I think the problem is this line in your code:
FilterList listOfFilters = new FilterList (FilterList.Operator.MUST_PASS_ALL);

Can you try with the top level filter being
FilterList listOfFilters = new FilterList (FilterList.Operator.MUST_PASS_ONE);

and see if that satisfies your requirement?

I tried the case you specified locally and when you have the top level
FilterList set to MUST_PASS_ALL ... it will return 0 rows (since each
column prefix filters cannot match every prefix specified).
I tried it with MUST_PASS_ONE ... and it will return the appropriate
rows since only _one_ of the child FilterList needs to pass.
On Fri, May 4, 2012 at 3:35 AM, Davis <[EMAIL PROTECTED]> wrote:
> Hbase version is 0.90.5,......
> Im not sure weather the following hierarchy is supported...
> Filterlist1 = ColumnPrefixFilter1 + valueFilter1
> Filterlist2 = ColumnPrefixFilter2 + valueFilter2
> Filterlist3 = ColumnPrefixFilter3 + valueFilter3
> Filterlist = Filterlist1 + Filterlist2 + Filterlist3
> Ny Ideas...???