Apache Solr open-source search software
Improve spatial javadocs, and fixed some javadoc warnings in 2 other places.
David Wayne Smileyc3e0ecf4359e
diff --git a/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java b/lucene/core/src/java/org/apache/lucene/index/IndexWriter.javaindex 8139c86a68d..20dbaf00a5c 100644--- a/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java+++ b/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java@@ -2212,7 +2212,7 @@ public class IndexWriter implements Closeable, TwoPhaseCommit {* {@link #prepareFlushedSegment(FlushedSegment)} to obtain the* {@link SegmentInfo} for the flushed segment.*- * @see #prepareFlushedSegment(FlushedSegment)+ * @see #prepareFlushedSegment(DocumentsWriterPerThread.FlushedSegment)*/synchronized void publishFlushedSegment(SegmentInfoPerCommit newSegment,FrozenBufferedDeletes packet, FrozenBufferedDeletes globalPacket) throws IOException {diff --git a/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/writercache/lru/NameIntCacheLRU.java b/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/writercache/lru/NameIntCacheLRU.javaindex 24d010adfb0..90712f9e160 100644--- a/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/writercache/lru/NameIntCacheLRU.java+++ b/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/writercache/lru/NameIntCacheLRU.java@@ -70,8 +70,6 @@ class NameIntCacheLRU {/*** Subclasses can override this to provide caching by e.g. hash of the string.- * @param name- * @return*/Object key(CategoryPath name) {// Note that a copy constructor (cloning) here is necessary, because adiff --git a/lucene/spatial/src/java/overview.html b/lucene/spatial/src/java/overview.htmlindex 51fe0031fec..58b9738fcf6 100644--- a/lucene/spatial/src/java/overview.html+++ b/lucene/spatial/src/java/overview.html@@ -23,16 +23,18 @@<h1>The Spatial Module for Apache Lucene</h1><p>- The spatial module is new is Lucene 4, replacing the old contrib module+ The spatial module is new to Lucene 4, replacing the old "contrib" modulethat came before it. The principle interface to the module isa {@link org.apache.lucene.spatial.SpatialStrategy}which encapsulates an approach to indexing and searchingbased on shapes. Different Strategies have different features and- performance profiles, which are documented at each Strategy class level.+ performance profiles, which are documented at each Strategy implementation+ class level.</p><p>- For some sample code showing how to use the API, see SpatialExample.java in- the tests.+ For some sample code showing how to use the API, see+ <a href="https://svn.apache.org/repos/asf/lucene/dev/trunk/lucene/spatial/src/test/org/apache/lucene/spatial/SpatialExample.java">+ SpatialExample.java</a> in the tests.</p><p>The spatial module uses@@ -57,7 +59,9 @@Lucene Spatial Playground (LSP) as an external project. In ~March 2012, LSPsplit into this new module as part of Lucene and Spatial4j externally. Alarge chunk of the LSP implementation originated as SOLR-2155 which uses- trie/prefix-tree algorithms with a geohash encoding.+ trie/prefix-tree algorithms with a geohash encoding. That approach is+ implemented in {@link org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy}+ today.</p></body>