Re: Running boolean or queries on accumulo

2015-04-30 Thread Josh Elser
Have you seen: https://github.com/apache/accumulo/blob/master/core/src/main/java/org/apache/accumulo/core/iterators/OrIterator.java ? vaibhav thapliyal wrote: Hi I was trying to run boolean and queries and successfully did so using the intersecting iterator. Can I tweak this iterator to

Re: Running boolean or queries on accumulo

2015-04-30 Thread Eric Newton
You can transform or queries into separate queries and run them in parallel. Looking for A (B|C) is the same as looking for (AB) | (AC). Just run two different queries and merge the results. Of course it can get a lot more complicated... you can spend the rest of your life on query

Re: Running boolean or queries on accumulo

2015-04-30 Thread Corey Nolet
Vaibnav, The difference in an OR iterator is that you will want it to return a single key for all of the given OR terms so that the iterator in the stack above it would see it was a single hit. It's essentially a merge at the key level to stop duplicate results from being returned (thus appearing