This proposal aims to introduce indexing as a way to speed up XML query evaluation. In XML, due to the complexity of tree structures, a wide range of index structures exists, for which different classifications can be found in the literature. In this work, we will focus on path indexing, which facilitate the access to all unique document paths of a document. In this work, Apache VXQuery will be used as the system in which path indexing will be applied. Last year, Lucene index has been integrated in VXQuery. However, there have to be a few improvements in order for Lucene index to be fully optimized for VXQuery.