Hi Christian!
Am 20.04.2018 um 15:49 schrieb Christian GrĂ¼n:
- BaseX is not as smart on recognizing when indices can be used in longer
XQuery code.
This one is interesting to hear, because we observed that users chose BaseX in the past exactly because of the index rewritings. Did you encounter these restrictions when working with multiple databases, or also with single instances?
This is in comparison to exist-db which finds indexes in whatever collection they are configured deep down in serveral hundrets of lines of XQuery module code where the collection name is calculated somwhere else. You know from some previous exchange we had that this is not the strong suite of BaseX. But that is a feature where exist-db is exceptionally good. Just when writing code structured like it was good for exist-db I didn't get any rewrites and so no acceleration from BaseX indexes at all. When rewriting queries to contain the db name as string literal that is a different story. This is also needed for get out of global locking. Best regards Omar
ACDH-OeAW