Repository: geode
Updated Branches:
  refs/heads/develop 48f6e11ad -> 1252cae4c


GEODE-2914: Tidy up LuceneService javadoc


Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/1252cae4
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/1252cae4
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/1252cae4

Branch: refs/heads/develop
Commit: 1252cae4ce543c5927f9bc885d680a3ce27d63d2
Parents: 48f6e11
Author: Jason Huynh <huyn...@gmail.com>
Authored: Fri May 12 10:42:01 2017 -0700
Committer: Jason Huynh <huyn...@gmail.com>
Committed: Fri May 12 15:17:37 2017 -0700

----------------------------------------------------------------------
 .../java/org/apache/geode/cache/lucene/LuceneService.java   | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/1252cae4/geode-lucene/src/main/java/org/apache/geode/cache/lucene/LuceneService.java
----------------------------------------------------------------------
diff --git 
a/geode-lucene/src/main/java/org/apache/geode/cache/lucene/LuceneService.java 
b/geode-lucene/src/main/java/org/apache/geode/cache/lucene/LuceneService.java
index e3968e6..3df9ff8 100644
--- 
a/geode-lucene/src/main/java/org/apache/geode/cache/lucene/LuceneService.java
+++ 
b/geode-lucene/src/main/java/org/apache/geode/cache/lucene/LuceneService.java
@@ -30,7 +30,8 @@ import java.util.concurrent.TimeUnit;
  * entries are updated in the associated regions.
  *
  * <p>
- * To obtain an instance of LuceneService, use {@link 
LuceneServiceProvider#get(GemFireCache)}.
+ * To obtain an instance of LuceneService, use
+ * {@link LuceneServiceProvider#get(GemFireCache cache)}.
  * </p>
  * <p>
  * Lucene indexes can be created using gfsh, xml, or the java API. Below is an 
example of creating a
@@ -41,7 +42,7 @@ import java.util.concurrent.TimeUnit;
  * <pre>
  * {
  *   &#64;code
-*       luceneService.createIndexFactory()
+ *       luceneService.createIndexFactory()
  *        .addField("name")
  *        .addField("zipcode")
  *        .addField("email", new KeywordAnalyzer())
@@ -51,7 +52,7 @@ import java.util.concurrent.TimeUnit;
  * <p>
  * You can also specify what {@link Analyzer} to use for each field. In the 
example above, email is
  * being tokenized with the KeywordAnalyzer so it is treated as a single word. 
The default analyzer
- * if non is specified is the {@link StandardAnalyzer}
+ * if none is specified is the {@link StandardAnalyzer}.
  * </p>
  * 
  *
@@ -68,7 +69,7 @@ import java.util.concurrent.TimeUnit;
  *   &#64;code
  *   LuceneQuery query = 
luceneService.createLuceneQueryFactory().setLimit(200).create(indexName,
  *       regionName, "name:John AND zipcode:97006", defaultField);
- *   Collection<Object> results = query.findValues();
+ *   Collection results = query.findValues();
  * }
  * </pre>
  *

Reply via email to