Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
Configuration
Description
A user reported that his Rya installation was not creating geoindexing index files. They had turned on the Maven profile "-P geoindexing", and enabled sc.use_geo in the configuration but nothing worked.
Activate geofunctions by doing the following:
maven profile enabled: "mvn ... -P geoindexing"
Configure enable:
conf.set(ConfigUtils.USE_GEO, "true");
OR
— config.xml
... <property>
<name>sc.use_geo</name>
<value>true</value>
</property> ...
—
The cause: using RyaSailFactory.
The Fix:
Replace: RyaSailFactory
With: GeoRyaSailFactory
- Perhaps we can check for the Geo index config option being TRUE but the non-geo factory is used and throw an Error or Warning.
- Maybe the documentation needs improvement.
- Place a comment where Geo indexing is turned on. In the pom.xml and possibly in the configuration examples.