diff --git a/querydsl-lucene3/README.md b/querydsl-lucene3/README.md index d47851e9b..b6f142639 100644 --- a/querydsl-lucene3/README.md +++ b/querydsl-lucene3/README.md @@ -49,7 +49,7 @@ Querying with Querydsl Lucene is as simple as this: ```JAVA QDocument doc = new QDocument("doc"); -IndexSearcher searcher = new IndexSearher(index); +IndexSearcher searcher = new IndexSearcher(index); LuceneQuery query = new LuceneQuery(true, searcher); List documents = query .where(doc.year.between("1800", "2000").and(doc.title.startsWith("Huckle")) diff --git a/querydsl-lucene4/README.md b/querydsl-lucene4/README.md index 4a6a8f9a9..f06c311cf 100644 --- a/querydsl-lucene4/README.md +++ b/querydsl-lucene4/README.md @@ -48,7 +48,7 @@ Querying with Querydsl Lucene is as simple as this: ```JAVA QDocument doc = new QDocument("doc"); -IndexSearcher searcher = new IndexSearher(index); +IndexSearcher searcher = new IndexSearcher(index); LuceneQuery query = new LuceneQuery(true, searcher); List documents = query .where(doc.year.between("1800", "2000").and(doc.title.startsWith("Huckle"))