added getLocalIdFromDocId to LuceneSearcher