Retrieval method using Lucene.