Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 118AE10E19 for ; Wed, 4 Sep 2013 04:04:55 +0000 (UTC) Received: (qmail 6589 invoked by uid 500); 4 Sep 2013 04:04:54 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 6554 invoked by uid 500); 4 Sep 2013 04:04:53 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 6541 invoked by uid 99); 4 Sep 2013 04:04:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Sep 2013 04:04:51 +0000 Date: Wed, 4 Sep 2013 04:04:51 +0000 (UTC) From: "Corey J. Nolet (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-1682) Iterator and example to support intersection of document-partitioned index terms by ranges with lower and upper bounds. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-1682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13757447#comment-13757447 ] Corey J. Nolet commented on ACCUMULO-1682: ------------------------------------------ If possible, the current IntersectingIterator's API could change slightly to encode columns as Pair[] columns where pair.first = start of range and pair.second = end of range. Discrete intersections could be made by setting the pair.second = null. Ranges could be inclusive by default or some parameter boolean[] inclusive provided to specify a sentinel for the intersections. Further, backwards compatibility could be maintained by keeping the configuration method that takes a "Text[] columns" and just adding a Pair(column, null) to the new Pair columns. > Iterator and example to support intersection of document-partitioned index terms by ranges with lower and upper bounds. > ----------------------------------------------------------------------------------------------------------------------- > > Key: ACCUMULO-1682 > URL: https://issues.apache.org/jira/browse/ACCUMULO-1682 > Project: Accumulo > Issue Type: Improvement > Reporter: Corey J. Nolet > Priority: Minor > Labels: proposal > > The current IntersectingIterator seeks to discrete terms that are encoded into the column families to find all column qualifiers that share all of the discrete column families of interest (with the additional ability to negate some of the column families). Looking at the current IntersectingIterator code, it should be possible to return all column qualifiers with a column family within a given range. > An example of this is finding all terms where NAME=Joe and (AGE>=30 && AGE<60) and STATE!=MD. If an example is provided, numerical types like the age could easily be encoded using the new Lexicoders. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira