You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2013/02/20 21:53:47 UTC

svn commit: r1448400 - in /lucene/dev/trunk: lucene/analysis/kuromoji/src/java/org/apache/lucene/analysis/ja/ lucene/analysis/stempel/src/java/org/egothor/stemmer/ lucene/benchmark/src/java/org/apache/lucene/benchmark/byTask/ lucene/codecs/src/java/org...

Author: sarowe
Date: Wed Feb 20 20:53:46 2013
New Revision: 1448400

URL: http://svn.apache.org/r1448400
Log:
LUCENE-4789: fix typos

Modified:
    lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/analysis/ja/JapaneseIterationMarkCharFilter.java
    lucene/dev/trunk/lucene/analysis/stempel/src/java/org/egothor/stemmer/MultiTrie.java
    lucene/dev/trunk/lucene/analysis/stempel/src/java/org/egothor/stemmer/MultiTrie2.java
    lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchmark/byTask/package.html
    lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/bloom/FuzzySet.java
    lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/analysis/package.html
    lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/LogMergePolicy.java
    lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/TimeLimitingCollector.java
    lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/BufferedIndexInput.java
    lucene/dev/trunk/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/writercache/lru/NameHashIntCacheLRU.java
    lucene/dev/trunk/lucene/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java
    lucene/dev/trunk/lucene/misc/src/test/org/apache/lucene/misc/SweetSpotSimilarityTest.java
    lucene/dev/trunk/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/processors/BooleanQuery2ModifierNodeProcessor.java
    lucene/dev/trunk/lucene/suggest/src/test/org/apache/lucene/search/suggest/analyzing/AnalyzingSuggesterTest.java
    lucene/dev/trunk/lucene/suggest/src/test/org/apache/lucene/search/suggest/analyzing/FuzzySuggesterTest.java
    lucene/dev/trunk/lucene/tools/junit4/tests.policy
    lucene/dev/trunk/solr/CHANGES.txt
    lucene/dev/trunk/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/XPathRecordReader.java
    lucene/dev/trunk/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandler.java
    lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/DocumentBuilder.java
    lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/processor/DistributedUpdateProcessor.java
    lucene/dev/trunk/solr/core/src/java/org/apache/solr/util/DOMUtil.java
    lucene/dev/trunk/solr/core/src/java/org/apache/solr/util/doc-files/min-should-match.html
    lucene/dev/trunk/solr/example/etc/create-solrtest.keystore.sh
    lucene/dev/trunk/solr/example/solr/collection1/conf/solrconfig.xml
    lucene/dev/trunk/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java

Modified: lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/analysis/ja/JapaneseIterationMarkCharFilter.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/analysis/ja/JapaneseIterationMarkCharFilter.java?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/analysis/ja/JapaneseIterationMarkCharFilter.java (original)
+++ lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/analysis/ja/JapaneseIterationMarkCharFilter.java Wed Feb 20 20:53:46 2013
@@ -39,7 +39,7 @@ import java.io.Reader;
  * <p>
  * The implementation buffers input until a full stop punctuation character (U+3002)
  * or EOF is reached in order to not keep a copy of the character stream in memory.
- * Vertical iteration marks, which are even rarer than horizonal iteration marks in
+ * Vertical iteration marks, which are even rarer than horizontal iteration marks in
  * contemporary Japanese, are unsupported.
  * </p>
  */

Modified: lucene/dev/trunk/lucene/analysis/stempel/src/java/org/egothor/stemmer/MultiTrie.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/stempel/src/java/org/egothor/stemmer/MultiTrie.java?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/stempel/src/java/org/egothor/stemmer/MultiTrie.java (original)
+++ lucene/dev/trunk/lucene/analysis/stempel/src/java/org/egothor/stemmer/MultiTrie.java Wed Feb 20 20:53:46 2013
@@ -63,7 +63,7 @@ import java.util.List;
 
 /**
  * The MultiTrie is a Trie of Tries. It stores words and their associated patch
- * commands. The MultiTrie handles patch commmands individually (each command by
+ * commands. The MultiTrie handles patch commands individually (each command by
  * itself).
  */
 public class MultiTrie extends Trie {

Modified: lucene/dev/trunk/lucene/analysis/stempel/src/java/org/egothor/stemmer/MultiTrie2.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/stempel/src/java/org/egothor/stemmer/MultiTrie2.java?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/stempel/src/java/org/egothor/stemmer/MultiTrie2.java (original)
+++ lucene/dev/trunk/lucene/analysis/stempel/src/java/org/egothor/stemmer/MultiTrie2.java Wed Feb 20 20:53:46 2013
@@ -64,7 +64,7 @@ import java.util.List;
  * The MultiTrie is a Trie of Tries.
  * <p>
  * It stores words and their associated patch commands. The MultiTrie handles
- * patch commmands broken into their constituent parts, as a MultiTrie does, but
+ * patch commands broken into their constituent parts, as a MultiTrie does, but
  * the commands are delimited by the skip command.
  */
 public class MultiTrie2 extends MultiTrie {

Modified: lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchmark/byTask/package.html
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchmark/byTask/package.html?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchmark/byTask/package.html (original)
+++ lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchmark/byTask/package.html Wed Feb 20 20:53:46 2013
@@ -53,7 +53,7 @@ Contained packages:
  </tr>
  <tr>
    <td><a href="programmatic/package-summary.html">programmatic</a></td>
-   <td>Sample performance test written programatically.</td>
+   <td>Sample performance test written programmatically.</td>
  </tr>
 </table>
 
@@ -102,7 +102,7 @@ Easiest way to run a benchmarks is using
  </li>
  <li>java org.apache.lucene.benchmark.byTask.programmatic.Sample
      <br>- would run a performance test programmatically - without using an alg
-     file. This is less readable, and less convinient, but possible.
+     file. This is less readable, and less convenient, but possible.
  </li>
 </ul>
 </p>
@@ -118,7 +118,7 @@ Each benchmark run has a DocMaker and a 
 match, so that "meaningful" queries are used for a certain collection.
 Properties set at the header of the alg file define which "makers" should be
 used. You can also specify your own makers, extending DocMaker and implementing
-QureyMaker.
+QueryMaker.
 	<blockquote>
 		<b>Note:</b> since 2.9, DocMaker is a concrete class which accepts a 
 		ContentSource. In most cases, you can use the DocMaker class to create 
@@ -228,7 +228,7 @@ The following is an informal description
  a number to repeat exhaustively.
  This is sometimes useful, for adding as many files as a doc maker can create,
  without iterating over the same file again, especially when the exact
- number of documents is not known in advance. For insance, TREC files extracted
+ number of documents is not known in advance. For instance, TREC files extracted
  from a zip file. Note: when using this, you must also set
  <font color="#FF0066">doc.maker.forever</font> to false.
  <br>Example -  <font color="#FF0066">{ AddDoc } : *</font>  - would add docs
@@ -271,7 +271,7 @@ The following is an informal description
  which is faster, adding
  many smaller documents, or few larger documents.
  Next candidates for supporting a parameter may be the Search tasks,
- for controlling the qurey size.
+ for controlling the query size.
  </li>
  <li>
  <b>Statistic recording elimination</b>: - a sequence can also end with
@@ -294,7 +294,7 @@ The following is an informal description
  This would specify repetition of N with rate of R operations/sec.
  Use '<font color="#FF0066">R/sec</font>' or
  '<font color="#FF0066">R/min</font>'
- to explicitely specify that the rate is per second or per minute.
+ to explicitly specify that the rate is per second or per minute.
  The default is per second,
  <br>Example -  <font color="#FF0066">[ AddDoc ] : 400 : 3</font> - would do 400
  addDoc in parallel, starting up to 3 threads per second.
@@ -412,7 +412,7 @@ regular index/search work tasks, report 
      or makeQuery() creates the next document or query
      that it "knows" to create.
      If that pool is "exhausted", the "maker" start over again.
-     The resetInpus command
+     The ResetInputs command
      therefore allows to make the rounds comparable.
      It is therefore useful to invoke ResetInputs together with NewRound.
      </li>
@@ -475,7 +475,7 @@ regular index/search work tasks, report 
 	 <li>
 	 <font color="#FF0066">WriteLineDoc</font> prepares a 'line'
 	 file where each line holds a document with <i>title</i>, 
-	 <i>date</i> and <i>body</i> elements, seperated by [TAB].
+	 <i>date</i> and <i>body</i> elements, separated by [TAB].
 	 A line file is useful if one wants to measure pure indexing
 	 performance, without the overhead of parsing the data.<br>
 	 You can use LineDocSource as a ContentSource over a 'line'

Modified: lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/bloom/FuzzySet.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/bloom/FuzzySet.java?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/bloom/FuzzySet.java (original)
+++ lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/bloom/FuzzySet.java Wed Feb 20 20:53:46 2013
@@ -243,7 +243,7 @@ public class FuzzySet {
   /**
    * 
    * @param targetMaxSaturation A number between 0 and 1 describing the % of bits that would ideally be set in the 
-   * result. Lower values have better qccuracy but require more space.
+   * result. Lower values have better accuracy but require more space.
    * @return a smaller FuzzySet or null if the current set is already over-saturated
    */
   public FuzzySet downsize(float targetMaxSaturation)

Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/analysis/package.html
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/analysis/package.html?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/analysis/package.html (original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/analysis/package.html Wed Feb 20 20:53:46 2013
@@ -562,7 +562,7 @@ public final class LengthFilter extends 
   CharTermAttribute, the length of the term can be determined and tokens that
   are either too short or too long are skipped.  Note how
   <code>accept()</code> can efficiently access the instance variable; no 
-  attribute lookup is neccessary. The same is true for the consumer, which can
+  attribute lookup is necessary. The same is true for the consumer, which can
   simply use local references to the Attributes.
 </p>
 <p>
@@ -791,7 +791,7 @@ API: Noun
 </pre>
 Each word is now followed by its assigned PartOfSpeech tag. Of course this is a naive 
 part-of-speech tagging. The word 'This' should not even be tagged as noun; it is only spelled capitalized because it
-is the first word of a sentence. Actually this is a good opportunity for an excerise. To practice the usage of the new
+is the first word of a sentence. Actually this is a good opportunity for an exercise. To practice the usage of the new
 API the reader could now write an Attribute and TokenFilter that can specify for each word if it was the first token
 of a sentence or not. Then the PartOfSpeechTaggingFilter can make use of this knowledge and only tag capitalized words
 as nouns if not the first word of a sentence (we know, this is still not a correct behavior, but hey, it's a good exercise). 

Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/LogMergePolicy.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/LogMergePolicy.java?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/LogMergePolicy.java (original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/LogMergePolicy.java Wed Feb 20 20:53:46 2013
@@ -96,7 +96,7 @@ public abstract class LogMergePolicy ext
    *  will never be merged. */
   protected int maxMergeDocs = DEFAULT_MAX_MERGE_DOCS;
 
-  /** If the size of the merge segment exceesd this ratio of
+  /** If the size of the merge segment exceeds this ratio of
    *  the total index size then it will remain in
    *  non-compound format even if {@link
    *  #setUseCompoundFile} is {@code true}. */
@@ -420,7 +420,7 @@ public abstract class LogMergePolicy ext
     }
 
     // If the segments are already merged (e.g. there's only 1 segment), or
-    // there are <maxNumSegements:.
+    // there are <maxNumSegments:.
     if (isMerged(infos, maxNumSegments, segmentsToMerge)) {
       if (verbose()) {
         message("already merged; skip");

Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/TimeLimitingCollector.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/TimeLimitingCollector.java?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/TimeLimitingCollector.java (original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/TimeLimitingCollector.java Wed Feb 20 20:53:46 2013
@@ -104,7 +104,7 @@ public class TimeLimitingCollector exten
   
   /**
    * Syntactic sugar for {@link #setBaseline(long)} using {@link Counter#get()}
-   * on the clock passed to the construcutor.
+   * on the clock passed to the constructor.
    */
   public void setBaseline() {
     setBaseline(clock.get());

Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/BufferedIndexInput.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/BufferedIndexInput.java?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/BufferedIndexInput.java (original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/BufferedIndexInput.java Wed Feb 20 20:53:46 2013
@@ -318,7 +318,7 @@ public abstract class BufferedIndexInput
   }
 
   /**
-   * Flushes the in-memory bufer to the given output, copying at most
+   * Flushes the in-memory buffer to the given output, copying at most
    * <code>numBytes</code>.
    * <p>
    * <b>NOTE:</b> this method does not refill the buffer, however it does

Modified: lucene/dev/trunk/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/writercache/lru/NameHashIntCacheLRU.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/writercache/lru/NameHashIntCacheLRU.java?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/writercache/lru/NameHashIntCacheLRU.java (original)
+++ lucene/dev/trunk/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/writercache/lru/NameHashIntCacheLRU.java Wed Feb 20 20:53:46 2013
@@ -23,7 +23,7 @@ import org.apache.lucene.facet.taxonomy.
  * An an LRU cache of mapping from name to int.
  * Used to cache Ordinals of category paths.
  * It uses as key, hash of the path instead of the path.
- * This way the cahce takes less RAM, but correctness depends on
+ * This way the cache takes less RAM, but correctness depends on
  * assuming no collisions. 
  * 
  * @lucene.experimental

Modified: lucene/dev/trunk/lucene/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java (original)
+++ lucene/dev/trunk/lucene/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java Wed Feb 20 20:53:46 2013
@@ -1197,7 +1197,7 @@ public class HighlighterTest extends Bas
 
         Highlighter highlighter = getHighlighter(query, null, HighlighterTest.this);
 
-        // Get 3 best fragments and seperate with a "..."
+        // Get 3 best fragments and separate with a "..."
         TokenStream tokenStream = analyzer.tokenStream(null, new StringReader(s));
 
         String result = highlighter.getBestFragments(tokenStream, s, 3, "...");

Modified: lucene/dev/trunk/lucene/misc/src/test/org/apache/lucene/misc/SweetSpotSimilarityTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/misc/src/test/org/apache/lucene/misc/SweetSpotSimilarityTest.java?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/misc/src/test/org/apache/lucene/misc/SweetSpotSimilarityTest.java (original)
+++ lucene/dev/trunk/lucene/misc/src/test/org/apache/lucene/misc/SweetSpotSimilarityTest.java Wed Feb 20 20:53:46 2013
@@ -83,7 +83,7 @@ public class SweetSpotSimilarityTest ext
     }
 
 
-    // seperate sweet spot for certain fields
+    // separate sweet spot for certain fields
 
     final SweetSpotSimilarity ssBar = new SweetSpotSimilarity();
     ssBar.setLengthNormFactors(8,13, 0.5f, false);

Modified: lucene/dev/trunk/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/processors/BooleanQuery2ModifierNodeProcessor.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/processors/BooleanQuery2ModifierNodeProcessor.java?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/processors/BooleanQuery2ModifierNodeProcessor.java (original)
+++ lucene/dev/trunk/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/processors/BooleanQuery2ModifierNodeProcessor.java Wed Feb 20 20:53:46 2013
@@ -55,7 +55,7 @@ import org.apache.lucene.queryparser.fle
  * {@link Operator#AND}, if it is, the same operation when an
  * {@link AndQueryNode} is found is applied to it. Each {@link BooleanQueryNode}
  * which direct parent is also a {@link BooleanQueryNode} is removed (to ignore
- * the rules of precidence).
+ * the rules of precedence).
  * </p>
  * 
  * @see ConfigurationKeys#DEFAULT_OPERATOR

Modified: lucene/dev/trunk/lucene/suggest/src/test/org/apache/lucene/search/suggest/analyzing/AnalyzingSuggesterTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/suggest/src/test/org/apache/lucene/search/suggest/analyzing/AnalyzingSuggesterTest.java?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/suggest/src/test/org/apache/lucene/search/suggest/analyzing/AnalyzingSuggesterTest.java (original)
+++ lucene/dev/trunk/lucene/suggest/src/test/org/apache/lucene/search/suggest/analyzing/AnalyzingSuggesterTest.java Wed Feb 20 20:53:46 2013
@@ -430,7 +430,7 @@ public class AnalyzingSuggesterTest exte
     }
   }
   
-  // Holds surface form seperately:
+  // Holds surface form separately:
   private static class TermFreq2 implements Comparable<TermFreq2> {
     public final String surfaceForm;
     public final String analyzedForm;

Modified: lucene/dev/trunk/lucene/suggest/src/test/org/apache/lucene/search/suggest/analyzing/FuzzySuggesterTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/suggest/src/test/org/apache/lucene/search/suggest/analyzing/FuzzySuggesterTest.java?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/suggest/src/test/org/apache/lucene/search/suggest/analyzing/FuzzySuggesterTest.java (original)
+++ lucene/dev/trunk/lucene/suggest/src/test/org/apache/lucene/search/suggest/analyzing/FuzzySuggesterTest.java Wed Feb 20 20:53:46 2013
@@ -466,7 +466,7 @@ public class FuzzySuggesterTest extends 
     }
   }
   
-  // Holds surface form seperately:
+  // Holds surface form separately:
   private static class TermFreq2 implements Comparable<TermFreq2> {
     public final String surfaceForm;
     public final String analyzedForm;

Modified: lucene/dev/trunk/lucene/tools/junit4/tests.policy
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/tools/junit4/tests.policy?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/tools/junit4/tests.policy (original)
+++ lucene/dev/trunk/lucene/tools/junit4/tests.policy Wed Feb 20 20:53:46 2013
@@ -48,7 +48,7 @@ grant {
   permission java.lang.reflect.ReflectPermission "*";
   permission java.lang.RuntimePermission "*";
 
-  // These two *have* to be spelled out a seperate
+  // These two *have* to be spelled out a separate
   permission java.lang.management.ManagementPermission "control";
   permission java.lang.management.ManagementPermission "monitor";
 

Modified: lucene/dev/trunk/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/CHANGES.txt?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/solr/CHANGES.txt (original)
+++ lucene/dev/trunk/solr/CHANGES.txt Wed Feb 20 20:53:46 2013
@@ -990,7 +990,7 @@ Bug Fixes
   or SolrIndexWriter initialization. (hossman)
 
 * SOLR-3518: Include final 'hits' in log information when aggregating a 
-  distibuted request (Markus Jelsma via hossman)
+  distributed request (Markus Jelsma via hossman)
 
 * SOLR-3628: SolrInputField and SolrInputDocument are now consistently backed 
   by Collections passed in to setValue/setField, and defensively copy values 
@@ -1083,7 +1083,7 @@ Bug Fixes
   (James Dyer)
 
 * SOLR-3087: Fixed DOMUtil so that code doing attribute validation will 
-  automaticly ignore nodes in the resserved "xml" prefix - in particular this 
+  automatically ignore nodes in the reserved "xml" prefix - in particular this
   fixes some bugs related to xinclude and fieldTypes.
   (Amit Nithian, hossman)
 
@@ -1114,7 +1114,7 @@ Bug Fixes
 Other Changes
 ----------------------
 
-* SOLR-3690: Fixed binary release packages to include dependencie needed for 
+* SOLR-3690: Fixed binary release packages to include dependencies needed for
   the solr-test-framework (hossman)
 
 * SOLR-2857: The /update/json and /update/csv URLs were restored to aid
@@ -1145,7 +1145,7 @@ Other Changes
   replicas before running the leader process - or if they all do not come up, 
   N amount of time. (Jan Høydahl, Per Steffensen, Mark Miller)
 
-* SOLR-3750: Optionaly, on session expiration, we can explicitly wait some time before 
+* SOLR-3750: Optionally, on session expiration, we can explicitly wait some time before
   running the leader sync process so that we are sure every node participates.
   (Per Steffensen, Mark Miller)
 
@@ -1329,7 +1329,7 @@ Bug Fixes
   For the example configuration, this means /browse now works with SolrCloud.
   (janhoy, ehatcher)
 
-* SOLR-3677: Fixed missleading error message in web ui to distinguish between 
+* SOLR-3677: Fixed misleading error message in web ui to distinguish between
   no SolrCores loaded vs. no /admin/ handler available.
   (hossman, steffkes)
   
@@ -1547,7 +1547,7 @@ New Features
   
 * SOLR-1298: Return FunctionQuery as pseudo field.  The solr 'fl' param
   now supports functions.  For example:  fl=id,sum(x,y) -- NOTE: only
-  functions with fast random access are reccomended. (yonik, ryan)
+  functions with fast random access are recommended. (yonik, ryan)
   
 * SOLR-705: Optionally return shard info with each document in distributed
   search.  Use fl=id,[shard]  to return the shard url.  (ryan)  
@@ -1657,7 +1657,7 @@ New Features
   chain. Serialization format is pluggable, and defaults to JSON. (ab)
 
 * SOLR-3363: Consolidated Exceptions in Analysis Factories so they only throw 
-  InitalizationExceptions (Chris Male)
+  InitializationExceptions (Chris Male)
 
 * SOLR-2690: New support for a "TZ" request param which overrides the TimeZone 
   used when rounding Dates in DateMath expressions for the entire request 
@@ -1851,7 +1851,7 @@ Bug Fixes
   (James Dyer, Tomás Fernández Löbbe)
 
 * SOLR-2605: fixed tracking of the 'defaultCoreName' in CoreContainer so that
-  CoreAdminHandler could return consistent information regardless of wether
+  CoreAdminHandler could return consistent information regardless of whether
   there is a a default core name or not. (steffkes, hossman)
 
 * SOLR-3370: fixed CSVResponseWriter to respect globs in the 'fl' param
@@ -1881,7 +1881,7 @@ Bug Fixes
 
 * SOLR-3522: fixed parsing of the 'literal()' function (hossman)
 
-* SOLR-3548: Fixed a bug in the cachability of queries using the {!join} 
+* SOLR-3548: Fixed a bug in the cachability of queries using the {!join}
   parser or the strdist() function, as well as some minor improvements to 
   the hashCode implementation of {!bbox} and {!geofilt} queries.
   (hossman)
@@ -1917,7 +1917,7 @@ Other Changes
   more spread out (Erick Erickson via hossman)
 
 * SOLR-2288: Small tweaks to eliminate compiler warnings.  primarily
-  using Generics where applicable in method/object declatations, and
+  using Generics where applicable in method/object declarations, and
   adding @SuppressWarnings("unchecked") when appropriate (hossman)
 
 * SOLR-2375: Suggester Lookup implementations now store trie data
@@ -1990,7 +1990,7 @@ Other Changes
   (ehatcher)
   
 * SOLR-3032: logOnce from SolrException logOnce and all the supporting
-  structure is gone. abortOnConfugrationError is also gone as it is no longer referenced.
+  structure is gone. abortOnConfigurationError is also gone as it is no longer referenced.
   Errors should be caught and logged at the top-most level or logged and NOT propagated up the 
   chain. (Erick Erickson)
 

Modified: lucene/dev/trunk/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/XPathRecordReader.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/XPathRecordReader.java?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/XPathRecordReader.java (original)
+++ lucene/dev/trunk/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/XPathRecordReader.java Wed Feb 20 20:53:46 2013
@@ -71,9 +71,9 @@ public class XPathRecordReader {
   public static final int FLATTEN = 1;
 
   /**
-   * A constructor called with a '|' seperated list of Xpath expressions
+   * A constructor called with a '|' separated list of Xpath expressions
    * which define sub sections of the XML stream that are to be emitted as
-   * seperate records.
+   * separate records.
    * 
    * @param forEachXpath  The XPATH for which a record is emitted. Once the
    * xpath tag is encountered, the Node.parse method starts collecting wanted 

Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandler.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandler.java?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandler.java (original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandler.java Wed Feb 20 20:53:46 2013
@@ -302,7 +302,7 @@ public class HttpShardHandler extends Sh
         String collections = params.get("collection");
         if (collections != null) {
           // If there were one or more collections specified in the query, split
-          // each parameter and store as a seperate member of a List.
+          // each parameter and store as a separate member of a List.
           List<String> collectionList = StrUtils.splitSmart(collections, ",",
               true);
           // In turn, retrieve the slices that cover each collection from the

Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/DocumentBuilder.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/DocumentBuilder.java?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/DocumentBuilder.java (original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/DocumentBuilder.java Wed Feb 20 20:53:46 2013
@@ -275,7 +275,7 @@ public class DocumentBuilder {
 
             // we can't copy any boost unless the dest field is 
             // indexed & !omitNorms, but which boost we copy depends
-            // on wether the dest field already contains values (we 
+            // on whether the dest field already contains values (we
             // don't want to apply the compounded docBoost more then once)
             final float destBoost = 
               (destinationField.indexed() && !destinationField.omitNorms()) ?

Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/processor/DistributedUpdateProcessor.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/processor/DistributedUpdateProcessor.java?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/processor/DistributedUpdateProcessor.java (original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/processor/DistributedUpdateProcessor.java Wed Feb 20 20:53:46 2013
@@ -1180,7 +1180,7 @@ public class DistributedUpdateProcessor 
   }
 
   /**
-   * Returns a boolean indicating wether or not the caller should behave as 
+   * Returns a boolean indicating whether or not the caller should behave as
    * if this is the "leader" even when ZooKeeper is not enabled.  
    * (Even in non zk mode, tests may simulate updates to/from a leader)
    */

Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/util/DOMUtil.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/util/DOMUtil.java?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/util/DOMUtil.java (original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/util/DOMUtil.java Wed Feb 20 20:53:46 2013
@@ -42,7 +42,7 @@ public class DOMUtil {
     outer: for (int j=0; j<attrs.getLength(); j++) {
       Node attr = attrs.item(j);
 
-      // automaticly exclude things in the xml namespace, ie: xml:base
+      // automatically exclude things in the xml namespace, ie: xml:base
       if (XML_RESERVED_PREFIX.equals(attr.getPrefix())) continue outer;
 
       String attrName = attr.getNodeName();
@@ -234,7 +234,7 @@ public class DOMUtil {
          according to the DOM Level-3 Core documentation - which
          specifies that the Attr's children should have their
          textContent concated (Attr's can have a single child which
-         is either Text node or an EntityRefrence).  In practice,
+         is either Text node or an EntityReference).  In practice,
          DOM implementations do not seem to use child nodes of
          Attributes, storing the "text" directly as the nodeValue.
          Fortunately, the DOM Spec indicates that when Attr.nodeValue

Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/util/doc-files/min-should-match.html
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/util/doc-files/min-should-match.html?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/util/doc-files/min-should-match.html (original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/util/doc-files/min-should-match.html Wed Feb 20 20:53:46 2013
@@ -30,7 +30,7 @@ DisMaxRequestHandler. 
 </blockquote>
 
 
-<h2>Explaination of Concept: "Min Number Should Match"</h2>
+<h2>Explanation of Concept: "Min Number Should Match"</h2>
 <div>
 :TODO:
 </div>
@@ -55,7 +55,7 @@ DisMaxRequestHandler. 
 
  <dt><code>75%</code></dt>
  <dd>A percentage, indicating that this percent of the total number of
-     optional clauses are neccessary.  The number computed from the
+     optional clauses are necessary.  The number computed from the
      percentage is rounded down and used as the minimum.
  </dd>
 
@@ -71,17 +71,17 @@ DisMaxRequestHandler. 
      by any of the previously mentioned specifiers is a conditional
      specification.  It indicates that if the number of optional clauses is
      equal to (or less than) the integer, they are all required, but
-     if it's greater then the integer, the specification applies.
+     if it's greater than the integer, the specification applies.
      In this example: if there are 1 to 3 clauses they are all required,
      but for 4 or more clauses only 90% are required.
  </dd>
 
  <dt><code>2&lt;-25% 9&lt;-3</code></dt>
- <dd>Multiple conditional specifications can be seperated by spaces,
-     each one only being valid for numbers greater then the one before it.
+ <dd>Multiple conditional specifications can be separated by spaces,
+     each one only being valid for numbers greater than the one before it.
      In this example: if there are 1 or 2 clauses both are required,
-     if there are 3-9 clauses all but 25% are requred, and if there
-     are more then 9 clauses, all but three are required.
+     if there are 3-9 clauses all but 25% are required, and if there
+     are more than 9 clauses, all but three are required.
  </dd>
 </dl>
 
@@ -104,10 +104,10 @@ DisMaxRequestHandler. 
  </li>
  <li>
  No matter what number the calculation arrives at,
- a value greater then the number of optional clauses, or a value less then
+ a value greater than the number of optional clauses, or a value less than
  1 will never be used.  (ie: no matter how low or how high the result of the
  calculation result is, the minimum number of required matches will never
- be lower then 1 or greatered then the number of clauses.
+ be lower than 1 or greater than the number of clauses.
  </li>
 </ul>
 

Modified: lucene/dev/trunk/solr/example/etc/create-solrtest.keystore.sh
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/etc/create-solrtest.keystore.sh?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/etc/create-solrtest.keystore.sh (original)
+++ lucene/dev/trunk/solr/example/etc/create-solrtest.keystore.sh Wed Feb 20 20:53:46 2013
@@ -20,8 +20,8 @@
 # This script shows how the solrtest.keystore file used for solr tests 
 # and these example configs was generated.
 #
-# Running this script should only be neccessary if the keystore file
-# needs to be replaced, which shouldn't be required until sometime arround
+# Running this script should only be necessary if the keystore file
+# needs to be replaced, which shouldn't be required until sometime around
 # the year 4751.
 #
 # NOTE: the "-ext" option used in the "keytool" command requires that you have

Modified: lucene/dev/trunk/solr/example/solr/collection1/conf/solrconfig.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/collection1/conf/solrconfig.xml?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/solr/collection1/conf/solrconfig.xml (original)
+++ lucene/dev/trunk/solr/example/solr/collection1/conf/solrconfig.xml Wed Feb 20 20:53:46 2013
@@ -323,7 +323,7 @@
                    commit before automatically triggering a new commit.
 
          maxTime - Maximum amount of time in ms that is allowed to pass
-                   since a document was added before automaticly
+                   since a document was added before automatically
                    triggering a new commit. 
          openSearcher - if false, the commit causes recent index changes
            to be flushed to stable storage, but does not cause a new
@@ -1123,7 +1123,7 @@
 
        http://wiki.apache.org/solr/SolrReplication 
 
-       It is also neccessary for SolrCloud to function (in Cloud mode, the 
+       It is also necessary for SolrCloud to function (in Cloud mode, the
        replication handler is used to bulk transfer segments when nodes 
        are added or need to recover).
 
@@ -1132,7 +1132,7 @@
   <requestHandler name="/replication" class="solr.ReplicationHandler" > 
     <!--
        To enable simple master/slave replication, uncomment one of the 
-       sections below, depending on wether this solr instance should be 
+       sections below, depending on whether this solr instance should be
        the "master" or a "slave".  If this instance is a "slave" you will 
        also need to fill in the masterUrl to point to a real machine.
     -->

Modified: lucene/dev/trunk/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java?rev=1448400&r1=1448399&r2=1448400&view=diff
==============================================================================
--- lucene/dev/trunk/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java (original)
+++ lucene/dev/trunk/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java Wed Feb 20 20:53:46 2013
@@ -544,7 +544,7 @@ public abstract class SolrTestCaseJ4 ext
   }
 
   /**
-   * Validates a query matches some JSON test expressions using the default double delta tollerance.
+   * Validates a query matches some JSON test expressions using the default double delta tolerance.
    * @see JSONTestUtil#DEFAULT_DELTA
    * @see #assertJQ(SolrQueryRequest,double,String...)
    */
@@ -698,7 +698,7 @@ public abstract class SolrTestCaseJ4 ext
     try {
       StringWriter r = new StringWriter();
 
-      // this is anoying
+      // this is annoying
       if (null == args || 0 == args.length) {
         r.write("<add>");
         r.write(doc.xml);
@@ -795,7 +795,7 @@ public abstract class SolrTestCaseJ4 ext
     return new LocalSolrQueryRequest(h.getCore(), mp);
   }
 
-  /** Neccessary to make method signatures un-ambiguous */
+  /** Necessary to make method signatures un-ambiguous */
   public static class XmlDoc {
     public String xml;
     @Override