incubator-accumulo-user mailing list archives

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

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

	http://incubator.apache.org/accumulo/user_manual_1.3-incubating/Table_Design.html

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

Aaron


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
> <jdaughtery@t-sciences.com> 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


Mime
View raw message