General FAQ Questions
Q: Do I have to close open collections?
In Xindice you always have to dispose of an open collection (col.close()). Is this not necessary in exist? All examples seems to ignore it.
A: You don't have to call close(). eXist keeps collections in a cache and automatically closes them once they fall out of it. Calling close() just has the effect that all dirty objects in the cache are flushed in advance.
Q: What does the "reindex collections" from the java interface do? Is that to refresh the words.dbx?
A: "Reindex" removes all indexes defined on the collection, including those in words.dbx and dom.dbx. So this is a kind of "repair", which can also be called via the XMLDB API (IndexQueryService.reindexCollection).
Q: I enabled a module in conf.xml but I don't see the corresponding documentation?
A: The function documentation needs to be re-generated. Please remove the /db/xqdocs collection first and re-generate it by accessing xquery/functions.xql .
- 0 Comments
- Add Comment
