Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-dev] Disable spatial indexing

Hello,

You can use "geomesa.indices.enabled", but you have to include at least one index in the value. Presumably there are other attributes that you want to be indexed? If there is a different geometry property, then you can just specify it as the default geometry. If you just want to index by feature ID or non-spatial attributes, you can use "geomesa.indices.enabled" set to "id,attr".

Thanks,

Emilio

On 11/7/18 5:35 AM, Maria Krommyda wrote:
Hello everyone, 

I create a Java SimpleFeatureType which includes a Feature with type Polygon.
This is identified as a spatial object and indexed accordingly. 
However, this polygon is not a spatial object and it can be null. 
This causes errors in the creation of the z3 index.
I understand that there is a way to disable the indexing from creating, but I cannot figure out the right command.

I tried 
sft.getUserData().put("geomesa.index","false");
and
sft.getDescriptor("polygon").getUserData().put("index", "false");
and
sft.getUserData().put("geomesa.indices.enabled ","");
Even though neither one of them raises an exception they do not work either. 

Can you please point me to the right direction?

Thank you very much for your time.

Best regards,
Maria. 

_______________________________________________
geomesa-dev mailing list
geomesa-dev@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-dev


Back to the top