Hello everyone,
I would like to provide you with all the changes in VXQuery during the first evaluation of GSoC concerning my indexing proposal [1]. Basically, I have addressed 3 of the VXQuery issues to clean up indexing query statements. Following are the issues described in more details:

VXQUERY-228: collection-from-index adds unnecessary header tags. For example we have the following query: |for||$x in collection-from-index(||"path-to-collection"||,||"/bookstore/book"||)/book| |The second "/book" is redundant since it is included in the search path, so we remove it.|

VXQUERY-196: Move XPath out of arguments for collection-from-index. Collection-from-index had two arguments (path to the indexed collection, path to be searched in the index). We remove the second argument since we get it from the path used after the function call, the same way that "collection" does now.

VXQUERY-204: Hide the index usage from the user. We replace the collection-from-index with collection and we decide with a rewrite rule if there is an index for the specified collection or not. If there is, we use the index to search for the path. However, we left the collection-from-index function in case that the user wants to control the index usage.

The code for all these changes is in [2].

Thanks,
Christina

[1] https://docs.google.com/document/d/1322DFzb7wHPE3dkIq3KuyCwPWNdLQx49AJlwmvQ2QOY/edit [2] https://github.com/apache/vxquery/pull/169/commits/15c3ae46f439e13fb8ee0be6af86ba90fb77c889



|
|


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Reply via email to