Chunked requests don't have a predefined content length, but definitely have content!
Merge remote branch 'upstream/develop' into fix-restxq-chunked-requests
fix getPropertyMap code (it always return null)
Merge remote-tracking branch 'eXist/develop' into develop
Merge pull request #142 from Infiniverse/fix-restxq-chunked-requests

Fix restxq chunked requests
Merge pull request #144 from shabanovd/develop

fix getPropertyMap code (it always return null)
Merge pull request #143 from wolfgangmm/develop

Clear query cache when collection config is invalidated
improve exception message
Merge pull request #145 from shabanovd/develop

improve exception message
[performance] Redesign query optimizer for operations using range index (comparisons, contains, starts-with...): split query rewriting into two parts: 1) inject pragma (for top-level optimizations) and rewrite filter expressions to use range functions, 2) check at runtime if optimization can be applied (index is available) or not. Fall back to default processing if no index available.

This approach should be more expensive than the compile-time optimization we used before, but has the advantage that queries do not need to be recompiled if the collection configuration changes. The overhead for rewriting the query on the fly was not measurable in my tests though (below the threshold of the profiler).
[performance] When reindexing a collection, trigger a sync on the lucene-based indexes after the collection indexes got removed and before updated data is saved.
Merge branch 'develop' of https://github.com/eXist-db/exist into develop