vtermanis opened a new pull request, #1344:
URL: https://github.com/apache/jena/pull/1344

   The [Spatial 
Index](https://jena.apache.org/documentation/geosparql/#spatial-index) is 
[generated on server 
startup](https://github.com/vtermanis/jena/blob/be6a377751ce585785700b2c6c3d6a9eb8e33aa3/jena-geosparql/src/main/java/org/apache/jena/geosparql/assembler/GeoAssembler.java#L183-L199)
 and, as per design, thereafter cannot be updated (until the next Fuseki 
restart).
   
   Currently there are two options for the Spatial Index in assembler 
configuration:
   1. `geosparql:spatialIndexFile` set => Index loaded from / generated + 
written to disk on startup
   2. `geosparql:spatialIndexFile` unset => Index generated in memory
   
   For a read + write dataset, said index is not very useful (in that startup 
time is wasted to re-generate the index which then is out-of-date after the 
next write op). This proposal adds a a new assembler option, 
`geosparql:spatialIndexEnabled` (defaulting to `true`) so that there now is a 
third mode:
   
   3. `geosparql:spatialIndexEnabled` set to `true` => 
`geosparql:spatialIndexFile` is ignored and no index is loaded or generated
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to