Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

MemoryIndex javadoc fixes

Mark Robert Millerf39dadfb2631
diff --git a/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java b/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java
index cd9b5b6fd3c..1f531957e80 100644
--- a/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java
+++ b/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java
@@ -60,7 +60,7 @@ import org.apache.lucene.search.Similarity;
* fuzzy fulltext search in realtime streaming applications such as Nux XQuery based XML
* message queues, publish-subscribe systems for Blogs/newsfeeds, text chat, data acquisition and
* distribution systems, application level routers, firewalls, classifiers, etc.
- * Rather than targetting fulltext search of infrequent queries over huge persistent
+ * Rather than targeting fulltext search of infrequent queries over huge persistent
* data archives (historic search), this class targets fulltext search of huge
* numbers of queries over comparatively small transient realtime data (prospective
* search).
@@ -320,7 +320,7 @@ public class MemoryIndex implements Serializable {
* the token stream to retrieve tokens from.
* @param boost
* the boost factor for hits for this field
- * @see Field#setBoost(float)
+ * @see org.apache.lucene.document.Field#setBoost(float)
*/
public void addField(String fieldName, TokenStream stream, float boost) {
try {
@@ -405,7 +405,7 @@ public class MemoryIndex implements Serializable {
* @return the relevance score of the matchmaking; A number in the range
* [0.0 .. 1.0], with 0.0 indicating no match. The higher the number
* the better the match.
- * @see org.apache.lucene.queryParser.QueryParser#parse(String)
+ *
*/
public float search(Query query) {
if (query == null)
diff --git a/contrib/memory/src/java/org/apache/lucene/index/memory/SynonymTokenFilter.java b/contrib/memory/src/java/org/apache/lucene/index/memory/SynonymTokenFilter.java
index a2166704e39..818bd7e2a6d 100644
--- a/contrib/memory/src/java/org/apache/lucene/index/memory/SynonymTokenFilter.java
+++ b/contrib/memory/src/java/org/apache/lucene/index/memory/SynonymTokenFilter.java
@@ -104,8 +104,6 @@ public class SynonymTokenFilter extends TokenFilter {
* a synonym for the current token's term
* @param current
* the current token from the underlying child stream
- * @param reusableToken
- * the token to reuse
* @return a new token, or null to indicate that the given synonym should be
* ignored
*/