[bugfix] Fix memory leak in lucene-based query functions (full-text and range index).
Merge pull request #77 from wolfgangmm/develop

[bugfix] Fix memory leak in lucene-based query functions