Github user bwmcbride commented on the pull request:
https://github.com/apache/jena/pull/123#issuecomment-174298772
The main problem I had was figuring out how to manage the static state so
it was consistent with the lifecyle implemented by TextIndexLucene and avoid
memory leaks on long running systems. Hence the call backs. That is an issue
that is common to both API and assembler construction.
The assembler mechanism is not designed to handle graph (or even lattice)
structured composition of components. According to Chris, it is by design that
It does a recursive decent over the structure and assembles a new thing each
time a node is encountered.
Perhaps there is a need for an assembly mechanism designed to handle graph
structures. Would also be useful to have some notion of an assember 'session',
that is the process of building a complete structure, during which session
state could be built up and thrown away at the end. Maybe there is one and I
didn;t find it.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---