[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [geomesa-users] Creating Attribute Indexes
|
Emilio:
Thanks. Don't know how I missed that example.
Wasn't expecting to find that information under Data Management.
On 2/14/17 5:22 PM, Emilio Lahr-Vivaz wrote:
Hi David,
You can set the index hint as user data for the attribute you want
indexed. Since you're using a SimpleFeatureType builder, you can set
the hints after building the simple feature type, but before calling
createSchema. The process is described here (your use case would be
the second example):
http://www.geomesa.org/documentation/user/accumulo/data_management.html#adding-attribute-indices
Thanks,
Emilio
On 02/14/2017 05:04 PM, David Boyd wrote:
This is probably a simple question and may be stupid.
We are programmatically creating SimpleFeatureTypes from our data
structures
at run time. Right now we are using SimpleFeatureTypeBuilder.
In the code we specify the geometry and date fields for that indexing.
We want to create an index on an attribute when we create that
feature type.
I see where I can use the CLI add-attribute-index command to create
such an
index. But in the usage text it states that it runs a mapreduce job
to create the
index which implies that it can only be created after all data is
ingested.
Is there a way to programmatically create an index when the
FeatureType is created?
_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-users
--
========= mailto:dboyd@xxxxxxxxxxxxxxxxx ============
David W. Boyd
VP, Data Solutions
10432 Balls Ford, Suite 240
Manassas, VA 20109
office: +1-703-552-2862
cell: +1-703-402-7908
============== http://www.incadencecorp.com/ ============
ISO/IEC JTC1 WG9, editor ISO/IEC 20547 Big Data Reference Architecture
Chair ANSI/INCITS TC Big Data
Co-chair NIST Big Data Public Working Group Reference Architecture
First Robotic Mentor - FRC, FTC - www.iliterobotics.org
Board Member- USSTEM Foundation - www.usstem.org
The information contained in this message may be privileged
and/or confidential and protected from disclosure.
If the reader of this message is not the intended recipient
or an employee or agent responsible for delivering this message
to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication
is strictly prohibited. If you have received this communication
in error, please notify the sender immediately by replying to
this message and deleting the material from any computer.