lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1658040 [4/4] - in /lucene/dev/trunk/lucene: ./ analysis/common/src/java/org/apache/lucene/analysis/bg/ analysis/common/src/java/org/apache/lucene/analysis/charfilter/ analysis/common/src/java/org/apache/lucene/analysis/cjk/ analysis/commo...
Date Sat, 07 Feb 2015 10:10:37 GMT
Modified: lucene/dev/trunk/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/NumericRangeFilterBuilder.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/NumericRangeFilterBuilder.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/NumericRangeFilterBuilder.java
(original)
+++ lucene/dev/trunk/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/NumericRangeFilterBuilder.java
Sat Feb  7 10:10:34 2015
@@ -85,7 +85,7 @@ import java.io.IOException;
  * <td>4</td>
  * </tr>
  * </table>
- * <p/>
+ * <p>
  * If an error occurs parsing the supplied <tt>lowerTerm</tt> or
  * <tt>upperTerm</tt> into the numeric type specified by <tt>type</tt>,
then the
  * error will be silently ignored and the resulting filter will not match any
@@ -99,13 +99,13 @@ public class NumericRangeFilterBuilder i
 
   /**
    * Specifies how this {@link NumericRangeFilterBuilder} will handle errors.
-   * <p/>
+   * <p>
    * If this is set to true, {@link #getFilter(Element)} will throw a
    * {@link ParserException} if it is unable to parse the lowerTerm or upperTerm
    * into the appropriate numeric type. If this is set to false, then this
    * exception will be silently ignored and the resulting filter will not match
    * any documents.
-   * <p/>
+   * <p>
    * Defaults to false.
    */
   public void setStrictMode(boolean strictMode) {

Modified: lucene/dev/trunk/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/NumericRangeQueryBuilder.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/NumericRangeQueryBuilder.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/NumericRangeQueryBuilder.java
(original)
+++ lucene/dev/trunk/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/NumericRangeQueryBuilder.java
Sat Feb  7 10:10:34 2015
@@ -80,7 +80,7 @@ import org.w3c.dom.Element;
  * <td>4</td>
  * </tr>
  * </table>
- * <p/>
+ * <p>
  * A {@link ParserException} will be thrown if an error occurs parsing the
  * supplied <tt>lowerTerm</tt> or <tt>upperTerm</tt> into the numeric
type
  * specified by <tt>type</tt>.

Modified: lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/SpanOrQueryNodeBuilder.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/SpanOrQueryNodeBuilder.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/SpanOrQueryNodeBuilder.java
(original)
+++ lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/SpanOrQueryNodeBuilder.java
Sat Feb  7 10:10:34 2015
@@ -28,8 +28,8 @@ import org.apache.lucene.search.spans.Sp
 import org.apache.lucene.search.spans.SpanQuery;
 
 /**
- * This builder creates {@link SpanOrQuery}s from a {@link BooleanQueryNode}.<br/>
- * <br/>
+ * This builder creates {@link SpanOrQuery}s from a {@link BooleanQueryNode}.<br>
+ * <br>
  * 
  * It assumes that the {@link BooleanQueryNode} instance has at least one child.
  */

Modified: lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/SpansQueryConfigHandler.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/SpansQueryConfigHandler.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/SpansQueryConfigHandler.java
(original)
+++ lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/SpansQueryConfigHandler.java
Sat Feb  7 10:10:34 2015
@@ -22,8 +22,8 @@ import org.apache.lucene.queryparser.fle
 import org.apache.lucene.queryparser.flexible.core.config.QueryConfigHandler;
 
 /**
- * This query config handler only adds the {@link UniqueFieldAttribute} to it.<br/>
- * <br/>
+ * This query config handler only adds the {@link UniqueFieldAttribute} to it.<br>
+ * <br>
  * 
  * It does not return any configuration for a field in specific.
  */

Modified: lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/SpansQueryTreeBuilder.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/SpansQueryTreeBuilder.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/SpansQueryTreeBuilder.java
(original)
+++ lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/SpansQueryTreeBuilder.java
Sat Feb  7 10:10:34 2015
@@ -27,12 +27,12 @@ import org.apache.lucene.search.spans.Sp
 
 /**
  * Sets up a query tree builder to build a span query tree from a query node
- * tree.<br/>
- * <br/>
+ * tree.<br>
+ * <br>
  * 
- * The defined map is:<br/>
- * - every BooleanQueryNode instance is delegated to the SpanOrQueryNodeBuilder<br/>
- * - every FieldQueryNode instance is delegated to the SpanTermQueryNodeBuilder <br/>
+ * The defined map is:<br>
+ * - every BooleanQueryNode instance is delegated to the SpanOrQueryNodeBuilder<br>
+ * - every FieldQueryNode instance is delegated to the SpanTermQueryNodeBuilder <br>
  * 
  */
 public class SpansQueryTreeBuilder extends QueryTreeBuilder implements

Modified: lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/SpansValidatorQueryNodeProcessor.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/SpansValidatorQueryNodeProcessor.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/SpansValidatorQueryNodeProcessor.java
(original)
+++ lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/SpansValidatorQueryNodeProcessor.java
Sat Feb  7 10:10:34 2015
@@ -33,8 +33,8 @@ import org.apache.lucene.queryparser.fle
  * Validates every query node in a query node tree. This processor will pass
  * fine if the query nodes are only {@link BooleanQueryNode}s,
  * {@link OrQueryNode}s or {@link FieldQueryNode}s, otherwise an exception will
- * be thrown. <br/>
- * <br/>
+ * be thrown. <br>
+ * <br>
  * 
  * If they are {@link AndQueryNode} or an instance of anything else that
  * implements {@link FieldQueryNode} the exception will also be thrown.

Modified: lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/TestSpanQueryParser.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/TestSpanQueryParser.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/TestSpanQueryParser.java
(original)
+++ lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/TestSpanQueryParser.java
Sat Feb  7 10:10:34 2015
@@ -31,33 +31,33 @@ import org.apache.lucene.search.Query;
 import org.apache.lucene.util.LuceneTestCase;
 
 /**
- * This test case demonstrates how the new query parser can be used.<br/>
- * <br/>
+ * This test case demonstrates how the new query parser can be used.<br>
+ * <br>
  * 
  * It tests queries likes "term", "field:term" "term1 term2" "term1 OR term2",
  * which are all already supported by the current syntax parser (
- * {@link StandardSyntaxParser}).<br/>
- * <br/>
+ * {@link StandardSyntaxParser}).<br>
+ * <br>
  * 
  * The goals is to create a new query parser that supports only the pair
  * "field:term" or a list of pairs separated or not by an OR operator, and from
  * this query generate {@link SpanQuery} objects instead of the regular
  * {@link Query} objects. Basically, every pair will be converted to a
  * {@link SpanTermQuery} object and if there are more than one pair they will be
- * grouped by an {@link OrQueryNode}.<br/>
- * <br/>
+ * grouped by an {@link OrQueryNode}.<br>
+ * <br>
  * 
  * Another functionality that will be added is the ability to convert every
- * field defined in the query to an unique specific field.<br/>
- * <br/>
+ * field defined in the query to an unique specific field.<br>
+ * <br>
  * 
  * The query generation is divided in three different steps: parsing (syntax),
- * processing (semantic) and building.<br/>
- * <br/>
+ * processing (semantic) and building.<br>
+ * <br>
  * 
  * The parsing phase, as already mentioned will be performed by the current
- * query parser: {@link StandardSyntaxParser}.<br/>
- * <br/>
+ * query parser: {@link StandardSyntaxParser}.<br>
+ * <br>
  * 
  * The processing phase will be performed by a processor pipeline which is
  * compound by 2 processors: {@link SpansValidatorQueryNodeProcessor} and
@@ -79,8 +79,8 @@ import org.apache.lucene.util.LuceneTest
  * 
  * The building phase is performed by the {@link SpansQueryTreeBuilder}, which
  * basically contains a map that defines which builder will be used to generate
- * {@link SpanQuery} objects from {@link QueryNode} objects.<br/>
- * <br/>
+ * {@link SpanQuery} objects from {@link QueryNode} objects.<br>
+ * <br>
  * 
  * @see SpansQueryConfigHandler
  * @see SpansQueryTreeBuilder

Modified: lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/TestSpanQueryParserSimpleSample.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/TestSpanQueryParserSimpleSample.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/TestSpanQueryParserSimpleSample.java
(original)
+++ lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/TestSpanQueryParserSimpleSample.java
Sat Feb  7 10:10:34 2015
@@ -30,33 +30,33 @@ import org.apache.lucene.search.spans.Sp
 import org.apache.lucene.util.LuceneTestCase;
 
 /**
- * This test case demonstrates how the new query parser can be used.<br/>
- * <br/>
+ * This test case demonstrates how the new query parser can be used.<br>
+ * <br>
  * 
  * It tests queries likes "term", "field:term" "term1 term2" "term1 OR term2",
  * which are all already supported by the current syntax parser (
- * {@link StandardSyntaxParser}).<br/>
- * <br/>
+ * {@link StandardSyntaxParser}).<br>
+ * <br>
  * 
  * The goals is to create a new query parser that supports only the pair
  * "field:term" or a list of pairs separated or not by an OR operator, and from
  * this query generate {@link SpanQuery} objects instead of the regular
  * {@link Query} objects. Basically, every pair will be converted to a
  * {@link SpanTermQuery} object and if there are more than one pair they will be
- * grouped by an {@link OrQueryNode}.<br/>
- * <br/>
+ * grouped by an {@link OrQueryNode}.<br>
+ * <br>
  * 
  * Another functionality that will be added is the ability to convert every
- * field defined in the query to an unique specific field.<br/>
- * <br/>
+ * field defined in the query to an unique specific field.<br>
+ * <br>
  * 
  * The query generation is divided in three different steps: parsing (syntax),
- * processing (semantic) and building.<br/>
- * <br/>
+ * processing (semantic) and building.<br>
+ * <br>
  * 
  * The parsing phase, as already mentioned will be performed by the current
- * query parser: {@link StandardSyntaxParser}.<br/>
- * <br/>
+ * query parser: {@link StandardSyntaxParser}.<br>
+ * <br>
  * 
  * The processing phase will be performed by a processor pipeline which is
  * compound by 2 processors: {@link SpansValidatorQueryNodeProcessor} and
@@ -78,8 +78,8 @@ import org.apache.lucene.util.LuceneTest
  * 
  * The building phase is performed by the {@link SpansQueryTreeBuilder}, which
  * basically contains a map that defines which builder will be used to generate
- * {@link SpanQuery} objects from {@link QueryNode} objects.<br/>
- * <br/>
+ * {@link SpanQuery} objects from {@link QueryNode} objects.<br>
+ * <br>
  * 
  * @see TestSpanQueryParser for a more advanced example
  * 

Modified: lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/UniqueFieldAttribute.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/UniqueFieldAttribute.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/UniqueFieldAttribute.java
(original)
+++ lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/UniqueFieldAttribute.java
Sat Feb  7 10:10:34 2015
@@ -23,8 +23,7 @@ import org.apache.lucene.util.Attribute;
 /**
  * This attribute is used by the {@link UniqueFieldQueryNodeProcessor}
  * processor. It holds a value that defines which is the unique field name that
- * should be set in every {@link FieldableNode}.<br/>
- * <br/>
+ * should be set in every {@link FieldableNode}.
  * 
  * @see UniqueFieldQueryNodeProcessor
  */

Modified: lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/UniqueFieldAttributeImpl.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/UniqueFieldAttributeImpl.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/UniqueFieldAttributeImpl.java
(original)
+++ lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/UniqueFieldAttributeImpl.java
Sat Feb  7 10:10:34 2015
@@ -23,8 +23,7 @@ import org.apache.lucene.util.AttributeI
 /**
  * This attribute is used by the {@link UniqueFieldQueryNodeProcessor}
  * processor. It holds a value that defines which is the unique field name that
- * should be set in every {@link FieldableNode}.<br/>
- * <br/>
+ * should be set in every {@link FieldableNode}.
  * 
  * @see UniqueFieldQueryNodeProcessor
  */

Modified: lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/UniqueFieldQueryNodeProcessor.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/UniqueFieldQueryNodeProcessor.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/UniqueFieldQueryNodeProcessor.java
(original)
+++ lucene/dev/trunk/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/spans/UniqueFieldQueryNodeProcessor.java
Sat Feb  7 10:10:34 2015
@@ -30,8 +30,7 @@ import org.apache.lucene.queryparser.fle
  * node contained in the query tree to the field name defined in the
  * {@link UniqueFieldAttribute}. So, the {@link UniqueFieldAttribute} must be
  * defined in the {@link QueryConfigHandler} object set in this processor,
- * otherwise it throws an exception.<br/>
- * <br/>
+ * otherwise it throws an exception.
  * 
  * @see UniqueFieldAttribute
  */

Modified: lucene/dev/trunk/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/DuplicateFilter.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/DuplicateFilter.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/DuplicateFilter.java
(original)
+++ lucene/dev/trunk/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/DuplicateFilter.java
Sat Feb  7 10:10:34 2015
@@ -59,7 +59,7 @@ public class DuplicateFilter extends Fil
   /**
    * "Full" processing mode starts by setting all bits to false and only setting bits
    * for documents that contain the given field and are identified as none-duplicates.
-   * <p/>
+   * <p>
    * "Fast" processing sets all bits to true then unsets all duplicate docs found for the
    * given field. This approach avoids the need to read DocsEnum for terms that are seen
    * to have a document frequency of exactly "1" (i.e. no duplicates). While a potentially

Modified: lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/SpatialStrategy.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/SpatialStrategy.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/SpatialStrategy.java
(original)
+++ lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/SpatialStrategy.java
Sat Feb  7 10:10:34 2015
@@ -32,7 +32,7 @@ import org.apache.lucene.spatial.query.S
 /**
  * The SpatialStrategy encapsulates an approach to indexing and searching based
  * on shapes.
- * <p/>
+ * <p>
  * Different implementations will support different features. A strategy should
  * document these common elements:
  * <ul>
@@ -46,10 +46,10 @@ import org.apache.lucene.spatial.query.S
  * If a strategy only supports certain shapes at index or query time, then in
  * general it will throw an exception if given an incompatible one.  It will not
  * be coerced into compatibility.
- * <p/>
+ * <p>
  * Note that a SpatialStrategy is not involved with the Lucene stored field
  * values of shapes, which is immaterial to indexing and search.
- * <p/>
+ * <p>
  * Thread-safe.
  *
  * @lucene.experimental
@@ -88,7 +88,7 @@ public abstract class SpatialStrategy {
    * Returns the IndexableField(s) from the {@code shape} that are to be
    * added to the {@link org.apache.lucene.document.Document}.  These fields
    * are expected to be marked as indexed and not stored.
-   * <p/>
+   * <p>
    * Note: If you want to <i>store</i> the shape as a string for retrieval in
    * search results, you could add it like this:
    * <pre>document.add(new StoredField(fieldName,ctx.toString(shape)));</pre>
@@ -133,7 +133,7 @@ public abstract class SpatialStrategy {
   /**
    * Make a Filter based principally on {@link org.apache.lucene.spatial.query.SpatialOperation}
    * and {@link Shape} from the supplied {@code args}.
-   * <p />
+   * <p>
    * If a subclasses implements
    * {@link #makeQuery(org.apache.lucene.spatial.query.SpatialArgs)}
    * then this method could be simply:

Modified: lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/bbox/BBoxOverlapRatioValueSource.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/bbox/BBoxOverlapRatioValueSource.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/bbox/BBoxOverlapRatioValueSource.java
(original)
+++ lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/bbox/BBoxOverlapRatioValueSource.java
Sat Feb  7 10:10:34 2015
@@ -23,8 +23,7 @@ import org.apache.lucene.search.Explanat
 /**
  * The algorithm is implemented as envelope on envelope (rect on rect) overlays rather than
  * complex polygon on complex polygon overlays.
- * <p/>
- * <p/>
+ * <p>
  * Spatial relevance scoring algorithm:
  * <DL>
  *   <DT>queryArea</DT> <DD>the area of the input query envelope</DD>
@@ -43,11 +42,11 @@ import org.apache.lucene.search.Explanat
  * area is calculated (queryArea, targetArea, intersectionArea). This allows for points or
horizontal/vertical lines
  * to be used as the query shape and in such case the descending order should have smallest
boxes up front. Without
  * this, a point or line query shape typically scores everything with the same value since
there is 0 area.
- * <p />
+ * <p>
  * Note: The actual computation of queryRatio and targetRatio is more complicated so that
it considers
  * points and lines. Lines have the ratio of overlap, and points are either 1.0 or 0.0 depending
on whether
  * it intersects or not.
- * <p />
+ * <p>
  * Originally based on Geoportal's
  * <a href="http://geoportal.svn.sourceforge.net/svnroot/geoportal/Geoportal/trunk/src/com/esri/gpt/catalog/lucene/SpatialRankingValueSource.java">
  *   SpatialRankingValueSource</a> but modified quite a bit. GeoPortal's algorithm
will yield a score of 0

Modified: lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/bbox/BBoxSimilarityValueSource.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/bbox/BBoxSimilarityValueSource.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/bbox/BBoxSimilarityValueSource.java
(original)
+++ lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/bbox/BBoxSimilarityValueSource.java
Sat Feb  7 10:10:34 2015
@@ -32,7 +32,7 @@ import java.util.Map;
  * A base class for calculating a spatial relevance rank per document from a provided
  * {@link ValueSource} in which {@link FunctionValues#objectVal(int)} returns a {@link
  * com.spatial4j.core.shape.Rectangle}.
- * <p/>
+ * <p>
  * Implementers: remember to implement equals and hashCode if you have
  * fields!
  *

Modified: lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/bbox/BBoxStrategy.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/bbox/BBoxStrategy.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/bbox/BBoxStrategy.java
(original)
+++ lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/bbox/BBoxStrategy.java
Sat Feb  7 10:10:34 2015
@@ -53,7 +53,7 @@ import com.spatial4j.core.shape.Shape;
  * href="http://geoportal.svn.sourceforge.net/svnroot/geoportal/Geoportal/trunk/src/com/esri/gpt/catalog/lucene/SpatialClauseAdapter.java">SpatialClauseAdapter</a>.
  * <p>
  * <b>Characteristics:</b>
- * <p>
+ * <br>
  * <ul>
  * <li>Only indexes Rectangles; just one per field value. Other shapes can be provided
  * and the bounding box will be used.</li>

Modified: lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/AbstractVisitingPrefixTreeFilter.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/AbstractVisitingPrefixTreeFilter.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/AbstractVisitingPrefixTreeFilter.java
(original)
+++ lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/AbstractVisitingPrefixTreeFilter.java
Sat Feb  7 10:10:34 2015
@@ -34,7 +34,7 @@ import org.apache.lucene.util.BytesRef;
  * Traverses a {@link SpatialPrefixTree} indexed field, using the template and
  * visitor design patterns for subclasses to guide the traversal and collect
  * matching documents.
- * <p/>
+ * <p>
  * Subclasses implement {@link #getDocIdSet(org.apache.lucene.index.LeafReaderContext,
  * org.apache.lucene.util.Bits)} by instantiating a custom {@link
  * VisitorTemplate} subclass (i.e. an anonymous inner class) and implement the

Modified: lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/PrefixTreeStrategy.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/PrefixTreeStrategy.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/PrefixTreeStrategy.java
(original)
+++ lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/PrefixTreeStrategy.java
Sat Feb  7 10:10:34 2015
@@ -41,7 +41,7 @@ import org.apache.lucene.spatial.util.Sh
  * approximate spatial search filter.
  * <p>
  * <b>Characteristics:</b>
- * <p>
+ * <br>
  * <ul>
  * <li>Can index any shape; however only {@link RecursivePrefixTreeStrategy}
  * can effectively search non-point shapes.</li>

Modified: lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/TermQueryPrefixTreeStrategy.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/TermQueryPrefixTreeStrategy.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/TermQueryPrefixTreeStrategy.java
(original)
+++ lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/TermQueryPrefixTreeStrategy.java
Sat Feb  7 10:10:34 2015
@@ -39,7 +39,7 @@ import java.util.List;
  * {@link TermsFilter} of all the cells from
  * {@link SpatialPrefixTree#getTreeCellIterator(com.spatial4j.core.shape.Shape, int)}.
  * It only supports the search of indexed Point shapes.
- * <p/>
+ * <p>
  * The precision of query shapes (distErrPct) is an important factor in using
  * this Strategy. If the precision is too precise then it will result in many
  * terms which will amount to a slower query.

Modified: lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/Cell.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/Cell.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/Cell.java
(original)
+++ lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/Cell.java
Sat Feb  7 10:10:34 2015
@@ -86,9 +86,9 @@ public interface Cell {
    * {@code shapeFilter}. The returned cells should have {@link #getShapeRel()} set to
    * their relation with {@code shapeFilter}.  In addition, for non-points {@link #isLeaf()}
    * must be true when that relation is WITHIN.
-   * <p/>
+   * <p>
    * IMPORTANT: Cells returned from this iterator can be shared, as well as the bytes.
-   * <p/>
+   * <p>
    * Precondition: Never called when getLevel() == maxLevel.
    *
    * @param shapeFilter an optional filter for the returned cells.

Modified: lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/DateRangePrefixTree.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/DateRangePrefixTree.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/DateRangePrefixTree.java
(original)
+++ lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/DateRangePrefixTree.java
Sat Feb  7 10:10:34 2015
@@ -32,7 +32,7 @@ import com.spatial4j.core.shape.Shape;
  * months, ...). You pass in {@link Calendar} objects with the desired fields set and the
unspecified
  * fields unset, which conveys the precision.  The implementation makes some optimization
assumptions about a
  * {@link java.util.GregorianCalendar}; others could probably be supported easily.
- * <p/>
+ * <p>
  * Warning: If you construct a Calendar and then get something from the object like a field
(e.g. year) or
  * milliseconds, then every field is fully set by side-effect. So after setting the fields,
pass it to this
  * API first.

Modified: lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/LegacyCell.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/LegacyCell.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/LegacyCell.java
(original)
+++ lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/LegacyCell.java
Sat Feb  7 10:10:34 2015
@@ -154,7 +154,7 @@ public abstract class LegacyCell impleme
   /**
    * Performant implementations are expected to implement this efficiently by
    * considering the current cell's boundary.
-   * <p/>
+   * <p>
    * Precondition: Never called when getLevel() == maxLevel.
    * Precondition: this.getShape().relate(p) != DISJOINT.
    */

Modified: lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/NumberRangePrefixTree.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/NumberRangePrefixTree.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/NumberRangePrefixTree.java
(original)
+++ lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/NumberRangePrefixTree.java
Sat Feb  7 10:10:34 2015
@@ -32,7 +32,7 @@ import org.apache.lucene.util.StringHelp
 /**
  * A SpatialPrefixTree for single-dimensional numbers and number ranges of fixed precision
values (not floating point).
  * Despite its name, the indexed values (and queries) need not actually be ranges, they can
be unit instance/values.
- * <p />
+ * <p>
  * Why might you use this instead of Lucene's built-in integer/long support?  Here are some
reasons with features based
  * on code in this class, <em>or are possible based on this class but require a subclass
to fully realize it</em>.
  * <ul>

Modified: lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/SpatialPrefixTree.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/SpatialPrefixTree.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/SpatialPrefixTree.java
(original)
+++ lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/SpatialPrefixTree.java
Sat Feb  7 10:10:34 2015
@@ -26,7 +26,7 @@ import org.apache.lucene.util.BytesRef;
  * at variable lengths corresponding to variable precision.  Each string
  * corresponds to a rectangular spatial region.  This approach is
  * also referred to "Grids", "Tiles", and "Spatial Tiers".
- * <p/>
+ * <p>
  * Implementations of this class should be thread-safe and immutable once
  * initialized.
  *

Modified: lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/query/SpatialArgsParser.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/query/SpatialArgsParser.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/query/SpatialArgsParser.java
(original)
+++ lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/query/SpatialArgsParser.java
Sat Feb  7 10:10:34 2015
@@ -36,7 +36,7 @@ import java.util.StringTokenizer;
  * <pre>
  *   Intersects(ENVELOPE(-10,-8,22,20)) distErrPct=0.025
  * </pre>
- * <p/>
+ * <p>
  * In the future it would be good to support something at least semi-standardized like a
  * variant of <a href="http://docs.geoserver.org/latest/en/user/filter/ecql_reference.html#spatial-predicate">
  *   [E]CQL</a>.

Modified: lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/vector/PointVectorStrategy.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/vector/PointVectorStrategy.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/vector/PointVectorStrategy.java
(original)
+++ lucene/dev/trunk/lucene/spatial/src/java/org/apache/lucene/spatial/vector/PointVectorStrategy.java
Sat Feb  7 10:10:34 2015
@@ -49,7 +49,7 @@ import org.apache.lucene.spatial.util.Va
  *
  * <p>
  * <b>Characteristics:</b>
- * <p>
+ * <br>
  * <ul>
  * <li>Only indexes points; just one per field value.</li>
  * <li>Can query by a rectangle or circle.</li>
@@ -68,7 +68,7 @@ import org.apache.lucene.spatial.util.Va
  * an x and y pair of fields.  A Circle query does the same bbox query but adds a
  * ValueSource filter on
  * {@link #makeDistanceValueSource(com.spatial4j.core.shape.Point)}.
- * <p />
+ * <p>
  * One performance shortcoming with this strategy is that a scenario involving
  * both a search using a Circle and sort will result in calculations for the
  * spatial distance being done twice -- once for the filter and second for the

Modified: lucene/dev/trunk/lucene/suggest/src/java/org/apache/lucene/search/spell/PlainTextDictionary.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/suggest/src/java/org/apache/lucene/search/spell/PlainTextDictionary.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/suggest/src/java/org/apache/lucene/search/spell/PlainTextDictionary.java
(original)
+++ lucene/dev/trunk/lucene/suggest/src/java/org/apache/lucene/search/spell/PlainTextDictionary.java
Sat Feb  7 10:10:34 2015
@@ -35,10 +35,10 @@ import org.apache.lucene.util.IOUtils;
 /**
  * Dictionary represented by a text file.
  * 
- * <p/>Format allowed: 1 word per line:<br/>
- * word1<br/>
- * word2<br/>
- * word3<br/>
+ * <p>Format allowed: 1 word per line:<br>
+ * word1<br>
+ * word2<br>
+ * word3<br>
  */
 public class PlainTextDictionary implements Dictionary {
 

Modified: lucene/dev/trunk/lucene/suggest/src/java/org/apache/lucene/search/spell/SpellChecker.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/suggest/src/java/org/apache/lucene/search/spell/SpellChecker.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/suggest/src/java/org/apache/lucene/search/spell/SpellChecker.java
(original)
+++ lucene/dev/trunk/lucene/suggest/src/java/org/apache/lucene/search/spell/SpellChecker.java
Sat Feb  7 10:10:34 2015
@@ -49,7 +49,7 @@ import org.apache.lucene.util.BytesRefIt
 
 /**
  * <p>
- *   Spell Checker class  (Main class) <br/>
+ *   Spell Checker class  (Main class).<br>
  *  (initially inspired by the David Spencer code).
  * </p>
  *

Modified: lucene/dev/trunk/lucene/suggest/src/java/org/apache/lucene/search/spell/SuggestWord.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/suggest/src/java/org/apache/lucene/search/spell/SuggestWord.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/suggest/src/java/org/apache/lucene/search/spell/SuggestWord.java
(original)
+++ lucene/dev/trunk/lucene/suggest/src/java/org/apache/lucene/search/spell/SuggestWord.java
Sat Feb  7 10:10:34 2015
@@ -19,11 +19,9 @@ package org.apache.lucene.search.spell;
  */
 
 /**
- *  SuggestWord, used in suggestSimilar method in SpellChecker class.
- * <p/>
+ * SuggestWord, used in suggestSimilar method in SpellChecker class.
+ * <p>
  * Default sort is first by score, then by frequency.
- * 
- *
  */
 public final class SuggestWord{
   

Modified: lucene/dev/trunk/lucene/suggest/src/java/org/apache/lucene/search/suggest/FileDictionary.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/suggest/src/java/org/apache/lucene/search/suggest/FileDictionary.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/suggest/src/java/org/apache/lucene/search/suggest/FileDictionary.java
(original)
+++ lucene/dev/trunk/lucene/suggest/src/java/org/apache/lucene/search/suggest/FileDictionary.java
Sat Feb  7 10:10:34 2015
@@ -31,15 +31,15 @@ import org.apache.lucene.util.IOUtils;
 /**
  * Dictionary represented by a text file.
  * 
- * <p/>Format allowed: 1 entry per line:<br/>
- * An entry can be: <br/>
+ * <p>Format allowed: 1 entry per line:<br>
+ * An entry can be: <br>
  * <ul>
  * <li>suggestion</li>
  * <li>suggestion <code>fieldDelimiter</code> weight</li>
  * <li>suggestion <code>fieldDelimiter</code> weight <code>fieldDelimiter</code>
payload</li>
  * </ul>
- * where the default <code>fieldDelimiter</code> is {@value #DEFAULT_FIELD_DELIMITER}<br/>
- * <p/>
+ * where the default <code>fieldDelimiter</code> is {@value #DEFAULT_FIELD_DELIMITER}<br>
+ * <p>
  * <b>NOTE:</b> 
  * <ul>
  * <li>In order to have payload enabled, the first entry has to have a payload</li>
@@ -49,11 +49,11 @@ import org.apache.lucene.util.IOUtils;
  *  then an empty payload is returned</li>
  * <li>An entry cannot have more than two <code>fieldDelimiter</code></li>
  * </ul>
- * <p/>
- * <b>Example:</b><br/>
- * word1 word2 TAB 100 TAB payload1<br/>
- * word3 TAB 101<br/>
- * word4 word3 TAB 102<br/>
+ * <p>
+ * <b>Example:</b><br>
+ * word1 word2 TAB 100 TAB payload1<br>
+ * word3 TAB 101<br>
+ * word4 word3 TAB 102<br>
  */
 public class FileDictionary implements Dictionary {
 

Modified: lucene/dev/trunk/lucene/suggest/src/java/org/apache/lucene/search/suggest/jaspell/JaspellTernarySearchTrie.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/suggest/src/java/org/apache/lucene/search/suggest/jaspell/JaspellTernarySearchTrie.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/suggest/src/java/org/apache/lucene/search/suggest/jaspell/JaspellTernarySearchTrie.java
(original)
+++ lucene/dev/trunk/lucene/suggest/src/java/org/apache/lucene/search/suggest/jaspell/JaspellTernarySearchTrie.java
Sat Feb  7 10:10:34 2015
@@ -47,21 +47,22 @@ import org.apache.lucene.util.RamUsageEs
  * Implementation of a Ternary Search Trie, a data structure for storing
  * <code>String</code> objects that combines the compact size of a binary search
  * tree with the speed of a digital search trie, and is therefore ideal for
- * practical use in sorting and searching data.</p>
- * <p>
+ * practical use in sorting and searching data.
  * 
+ * <p>
  * This data structure is faster than hashing for many typical search problems,
  * and supports a broader range of useful problems and operations. Ternary
  * searches are faster than hashing and more powerful, too.
  * </p>
- * <p>
  * 
+ * <p>
  * The theory of ternary search trees was described at a symposium in 1997 (see
  * "Fast Algorithms for Sorting and Searching Strings," by J.L. Bentley and R.
  * Sedgewick, Proceedings of the 8th Annual ACM-SIAM Symposium on Discrete
  * Algorithms, January 1997). Algorithms in C, Third Edition, by Robert
  * Sedgewick (Addison-Wesley, 1998) provides yet another view of ternary search
  * trees.
+ * </p>
  *
  * @deprecated Migrate to one of the newer suggesters which are much more RAM efficient.
  */

Modified: lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/mockfile/package-info.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/mockfile/package-info.java?rev=1658040&r1=1658039&r2=1658040&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/mockfile/package-info.java
(original)
+++ lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/mockfile/package-info.java
Sat Feb  7 10:10:34 2015
@@ -25,6 +25,5 @@
  *   <li>{@link org.apache.lucene.mockfile.WindowsFS}: Acts like windows.
  *   <li>{@link org.apache.lucene.mockfile.DisableFsyncFS}: Makes actual fsync calls
a no-op.
  * </ul>
- * </p>
  */
 package org.apache.lucene.mockfile;



Mime
View raw message