You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by yo...@apache.org on 2006/05/28 03:58:02 UTC

svn commit: r409907 - in /incubator/solr/trunk/src/java/org/apache/solr: core/ request/ search/ util/

Author: yonik
Date: Sat May 27 18:58:01 2006
New Revision: 409907

URL: http://svn.apache.org/viewvc?rev=409907&view=rev
Log:
spellling & typos

Modified:
    incubator/solr/trunk/src/java/org/apache/solr/core/SolrInfoMBean.java
    incubator/solr/trunk/src/java/org/apache/solr/request/SolrQueryRequest.java
    incubator/solr/trunk/src/java/org/apache/solr/request/SolrQueryRequestBase.java
    incubator/solr/trunk/src/java/org/apache/solr/search/DocIterator.java
    incubator/solr/trunk/src/java/org/apache/solr/search/DocList.java
    incubator/solr/trunk/src/java/org/apache/solr/search/DocSet.java
    incubator/solr/trunk/src/java/org/apache/solr/search/DocSlice.java
    incubator/solr/trunk/src/java/org/apache/solr/util/NamedList.java

Modified: incubator/solr/trunk/src/java/org/apache/solr/core/SolrInfoMBean.java
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/src/java/org/apache/solr/core/SolrInfoMBean.java?rev=409907&r1=409906&r2=409907&view=diff
==============================================================================
--- incubator/solr/trunk/src/java/org/apache/solr/core/SolrInfoMBean.java (original)
+++ incubator/solr/trunk/src/java/org/apache/solr/core/SolrInfoMBean.java Sat May 27 18:58:01 2006
@@ -21,7 +21,7 @@
 
 /**
  * MBean interface for getting various ui friendly strings and URLs
- * for use by objects which are 'plugable' to make server administration
+ * for use by objects which are 'pluggable' to make server administration
  * easier.
  *
  * @author ronp
@@ -50,7 +50,7 @@
    * Documentation URL list.
    *
    * <p>
-   * Suggested documentaion URLs: Homepage for sponsoring project,
+   * Suggested documentation URLs: Homepage for sponsoring project,
    * FAQ on class usage, Design doc for class, Wiki, bug reporting URL, etc...
    * </p>
    */

Modified: incubator/solr/trunk/src/java/org/apache/solr/request/SolrQueryRequest.java
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/src/java/org/apache/solr/request/SolrQueryRequest.java?rev=409907&r1=409906&r2=409907&view=diff
==============================================================================
--- incubator/solr/trunk/src/java/org/apache/solr/request/SolrQueryRequest.java (original)
+++ incubator/solr/trunk/src/java/org/apache/solr/request/SolrQueryRequest.java Sat May 27 18:58:01 2006
@@ -43,7 +43,7 @@
 
   /**
    * Returns the input parameter values for the specified name
-   * @return the values; may be null or empty depending on implimentation
+   * @return the values; may be null or empty depending on implementation
    */
   public String[] getParams(String name);
 

Modified: incubator/solr/trunk/src/java/org/apache/solr/request/SolrQueryRequestBase.java
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/src/java/org/apache/solr/request/SolrQueryRequestBase.java?rev=409907&r1=409906&r2=409907&view=diff
==============================================================================
--- incubator/solr/trunk/src/java/org/apache/solr/request/SolrQueryRequestBase.java (original)
+++ incubator/solr/trunk/src/java/org/apache/solr/request/SolrQueryRequestBase.java Sat May 27 18:58:01 2006
@@ -23,9 +23,9 @@
 import org.apache.solr.core.SolrException;
 
 /**
- * Base implimentation of <code>SolrQueryRequest</code> that provides some
- * convinience methods for accessing parameters, and manages an IndexSearcher
- * refrence.
+ * Base implementation of <code>SolrQueryRequest</code> that provides some
+ * convenience methods for accessing parameters, and manages an IndexSearcher
+ * reference.
  *
  * <p>
  * The <code>close()</code> method must be called on any instance of this

Modified: incubator/solr/trunk/src/java/org/apache/solr/search/DocIterator.java
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/src/java/org/apache/solr/search/DocIterator.java?rev=409907&r1=409906&r2=409907&view=diff
==============================================================================
--- incubator/solr/trunk/src/java/org/apache/solr/search/DocIterator.java (original)
+++ incubator/solr/trunk/src/java/org/apache/solr/search/DocIterator.java Sat May 27 18:58:01 2006
@@ -30,14 +30,15 @@
  * @version $Id$
  */
 public interface DocIterator extends Iterator<Integer> {
-  // allready declared in superclass, redeclaring prevents javadoc inheritence
+  // already declared in superclass, redeclaring prevents javadoc inheritance
   //public boolean hasNext();
 
   /**
    * Returns the next document id if hasNext()==true
    *
    * <code>
-   * This method is functionally equivilent to <code>next()</code>
+   * This method is equivalent to <code>next()</code>, but avoids the creation
+   * of an Integer Object.
    * @see #next()
    */
   public int nextDoc();

Modified: incubator/solr/trunk/src/java/org/apache/solr/search/DocList.java
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/src/java/org/apache/solr/search/DocList.java?rev=409907&r1=409906&r2=409907&view=diff
==============================================================================
--- incubator/solr/trunk/src/java/org/apache/solr/search/DocList.java (original)
+++ incubator/solr/trunk/src/java/org/apache/solr/search/DocList.java Sat May 27 18:58:01 2006
@@ -67,7 +67,7 @@
   public DocList subset(int offset, int len);
 
   /**
-   * Returns an interator that may be used to iterate over the documents in this DocList
+   * Returns an iterator that may be used to iterate over the documents in this DocList
    *
    * <p>
    * The order of the documents returned by this iterator is based on the

Modified: incubator/solr/trunk/src/java/org/apache/solr/search/DocSet.java
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/src/java/org/apache/solr/search/DocSet.java?rev=409907&r1=409906&r2=409907&view=diff
==============================================================================
--- incubator/solr/trunk/src/java/org/apache/solr/search/DocSet.java (original)
+++ incubator/solr/trunk/src/java/org/apache/solr/search/DocSet.java Sat May 27 18:58:01 2006
@@ -39,20 +39,21 @@
    * (optional operation).
    *
    * @see #addUnique
-   * @throws SolrException if the implimentation does not allow modifications
+   * @throws SolrException if the implementation does not allow modifications
    */
   public void add(int doc);
+
   /**
    * Adds a document the caller knows is not currently in the DocSet
    * (optional operation).
    *
    * <p>
    * This method may be faster then <code>add(doc)</code> in some
-   * implimentaions provided the caller is certain of the precondition.
+   * implementaions provided the caller is certain of the precondition.
    * </p>
    *
    * @see #add
-   * @throws SolrException if the implimentation does not allow modifications
+   * @throws SolrException if the implementation does not allow modifications
    */
   public void addUnique(int doc);
 
@@ -67,7 +68,7 @@
   public boolean exists(int docid);
 
   /**
-   * Returns an interator that may be used to iterate over all of the documents in the set.
+   * Returns an iterator that may be used to iterate over all of the documents in the set.
    *
    * <p>
    * The order of the documents returned by this iterator is
@@ -124,7 +125,7 @@
 
 }
 
-/** A base class that may be usefull for implimenting DocSets */
+/** A base class that may be usefull for implementing DocSets */
 abstract class DocSetBase implements DocSet {
 
   // Not implemented efficiently... for testing purposes only
@@ -149,14 +150,14 @@
   }
 
   /**
-   * @throws SolrException Base implimentation does not allow modifications
+   * @throws SolrException Base implementation does not allow modifications
    */
   public void add(int doc) {
     throw new SolrException(500,"Unsupported Operation");
   }
 
   /**
-   * @throws SolrException Base implimentation does not allow modifications
+   * @throws SolrException Base implementation does not allow modifications
    */
   public void addUnique(int doc) {
     throw new SolrException(500,"Unsupported Operation");

Modified: incubator/solr/trunk/src/java/org/apache/solr/search/DocSlice.java
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/src/java/org/apache/solr/search/DocSlice.java?rev=409907&r1=409906&r2=409907&view=diff
==============================================================================
--- incubator/solr/trunk/src/java/org/apache/solr/search/DocSlice.java (original)
+++ incubator/solr/trunk/src/java/org/apache/solr/search/DocSlice.java Sat May 27 18:58:01 2006
@@ -38,7 +38,7 @@
    * @param offset  starting offset for this range of docs
    * @param len     length of results
    * @param docs    array of docids starting at position 0
-   * @param scores  array of scores that corrisponds to docs, may be null
+   * @param scores  array of scores that corresponds to docs, may be null
    * @param matches total number of matches for the query
    */
   public DocSlice(int offset, int len, int[] docs, float[] scores, int matches, float maxScore) {

Modified: incubator/solr/trunk/src/java/org/apache/solr/util/NamedList.java
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/src/java/org/apache/solr/util/NamedList.java?rev=409907&r1=409906&r2=409907&view=diff
==============================================================================
--- incubator/solr/trunk/src/java/org/apache/solr/util/NamedList.java (original)
+++ incubator/solr/trunk/src/java/org/apache/solr/util/NamedList.java Sat May 27 18:58:01 2006
@@ -55,7 +55,7 @@
    * Creates an instance backed by an explicitly specified list of
    * pairwise names/values.
    *
-   * @param nameValuePairs underlying List which should be used to impliment a NamedList; modifying this List will affect the NamedList.
+   * @param nameValuePairs underlying List which should be used to implement a NamedList; modifying this List will affect the NamedList.
    */
   public NamedList(List nameValuePairs) {
     nvPairs=nameValuePairs;
@@ -107,7 +107,7 @@
   }
 
   /**
-   * Scans the list sequentially begining at the specified index and
+   * Scans the list sequentially beginning at the specified index and
    * returns the index of the first pair with the specified name.
    *
    * @param name name to look for, may be null