accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Cordova <>
Subject Re: Scan for keyword
Date Wed, 23 Nov 2011 18:55:10 GMT

If you haven't already, check out the Table Design section of the Manual

specifically, the subsection titled 'Indexing'. If you have read this, let us know and we
can clarify.


On Nov 23, 2011, at 1:46 PM, Jason Rutherglen wrote:

> The most efficient system would be to implement a secondary [inverted]
> index on the Accumulo data.
> May there is a Coprocessor like API that would allow this type of
> functionality to be implemented?
> On Wed, Nov 23, 2011 at 1:12 PM, Joey Daughtery
> <> wrote:
>> All
>> I am new to Accumulo.  I have figured out how to store the data, load all
>> based on scanning with new Range(), and loading a specific row based on new
>> Range(id).  However, if I want to locate a row that has a specific value, I
>> am not sure how to approach this programmatically.  Can someone give me some
>> insight on how to do such a scan?
>> Also, I have seen several examples of how to populate the Mutation object.
>> Specifically, I see:
>> mut.put(new Text("column"), new Text("NAME"), timestamp, new Value("John");
>> OR
>> mut.put(new Text("NAME"), new Text("John"), timestamp, new Value("John);
>> Could someone indicate which is the correct way to store the data or
>> indicate why one would use one approach over the other?
>> Thanks
>> Joe

View raw message