fixed a bug in the Lucene adapter.
Merge branch 'master' of https://github.com/AKSW/Palmetto