[
https://issues.apache.org/jira/browse/JENA-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227364#comment-13227364
]
Paolo Castagna commented on JENA-164:
-------------------------------------
Hi Tao, could you share a few more detail on your use cases and application
scenario? I imagine you are using Fuseki (with TDB) and LARQ for free text
searches. Do you submit all your updates via SPARQL Update or there are other
ways your updates come in? Do you use tdbloader for large/incremental updates?
How frequent and how big are your updates? Would re-building the Lucene index
nightly or hourly be a feasible option for you?
In any case, thanks for posting your comment here. You can either answer my
questions here or on jena-users/jena-dev mailing lists. I prefer this
discussions to happen on jena-users and leave JIRA comments to specific
comments on how to implement/fix the issue. But comments in JIRA are welcome
anyway and they are better than nothing.
> 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira