[
https://issues.apache.org/jira/browse/JENA-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576532#comment-13576532
]
Andy Seaborne commented on JENA-164:
------------------------------------
Currently, maintenance of the index is lacking.
I have been experimenting with a dataset wrapper that tracks changes and emits
diffs (add and deletes of triples/quads) which could be a building block for
index maintenance. It would also be useful for replication and backups.
(If I could find some funding to cover this, at least in part, it would
progress faster)
> LARQ needs to update the Lucene index when a SPARQL Update request is received
> ------------------------------------------------------------------------------
>
> Key: JENA-164
> URL: https://issues.apache.org/jira/browse/JENA-164
> Project: Apache Jena
> Issue Type: New Feature
> Components: LARQ
> Reporter: Paolo Castagna
> Assignee: Paolo Castagna
> Priority: Minor
> Original Estimate: 96h
> Remaining Estimate: 96h
>
> LARQ used not to update the Lucene index as RDF statements were added/removed
> from a Jena Model.
> LARQ is currently extending StatementListener [1] to keep a Lucene index in
> sync with a Jena Model, however this notification mechanism is not applicable
> in the case of SPARQL Update requests.
> LARQ needs to update the Lucene index when a SPARQL Update request is
> received.
> See also a relevant thread from jena-users mailing list:
> - How to be notified of triples added/deleted to/from a Graph? --
> http://markmail.org/thread/l4ymug3ujoqifnty
> [1]
> http://svn.apache.org/repos/asf/incubator/jena/Jena2/LARQ/trunk/src/main/java/org/apache/jena/larq/IndexBuilderModel.java
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira