You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2012/09/23 23:39:27 UTC
svn commit: r1389149 [3/5] - in /lucene/dev/branches/lucene_solr_4_0: ./
dev-tools/ dev-tools/eclipse/dot.settings/ lucene/ lucene/analysis/
lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/
lucene/analysis/common/src/java/org/apac...
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/facet/search/StandardFacetsAccumulator.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/facet/search/StandardFacetsAccumulator.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/facet/search/StandardFacetsAccumulator.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/facet/search/StandardFacetsAccumulator.java Sun Sep 23 21:39:18 2012
@@ -230,10 +230,7 @@ public class StandardFacetsAccumulator e
/**
* Iterate over the documents for this partition and fill the facet arrays with the correct
* count/complement count/value.
- * @param docids
- * @param facetArrays
- * @param partition
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error.
*/
private final void fillArraysForPartition(ScoredDocIDs docids,
FacetArrays facetArrays, int partition) throws IOException {
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/facet/search/params/FacetRequest.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/facet/search/params/FacetRequest.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/facet/search/params/FacetRequest.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/facet/search/params/FacetRequest.java Sun Sep 23 21:39:18 2012
@@ -318,7 +318,7 @@ public abstract class FacetRequest imple
* index reader in effect.
* @param taxonomy
* reader of taxonomy in effect.
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error.
*/
public abstract Aggregator createAggregator(boolean useComplements,
FacetArrays arrays, IndexReader indexReader,
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/facet/search/sampling/SampleFixer.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/facet/search/sampling/SampleFixer.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/facet/search/sampling/SampleFixer.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/facet/search/sampling/SampleFixer.java Sun Sep 23 21:39:18 2012
@@ -38,7 +38,7 @@ public interface SampleFixer {
* full set of matching documents.
* @param fres
* sample result to be fixed.
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error.
*/
public void fixResult(ScoredDocIDs origDocIds, FacetResult fres) throws IOException;
}
\ No newline at end of file
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/facet/search/sampling/TakmiSampleFixer.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/facet/search/sampling/TakmiSampleFixer.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/facet/search/sampling/TakmiSampleFixer.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/facet/search/sampling/TakmiSampleFixer.java Sun Sep 23 21:39:18 2012
@@ -71,7 +71,7 @@ class TakmiSampleFixer implements Sample
* result node to be fixed
* @param docIds
* docids in effect
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error.
*/
private void fixResultNode(FacetResultNode facetResNode, ScoredDocIDs docIds)
throws IOException {
@@ -88,7 +88,7 @@ class TakmiSampleFixer implements Sample
* result node to be recounted
* @param docIds
* full set of matching documents.
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error.
*/
private void recount(FacetResultNode fresNode, ScoredDocIDs docIds)
throws IOException {
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/TaxonomyReader.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/TaxonomyReader.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/TaxonomyReader.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/TaxonomyReader.java Sun Sep 23 21:39:18 2012
@@ -257,7 +257,7 @@ public interface TaxonomyReader extends
* Expert: decreases the refCount of this TaxonomyReader instance.
* If the refCount drops to 0, then pending changes (if any) can be
* committed to the taxonomy index and this reader can be closed.
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error.
*/
public void decRef() throws IOException;
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/FloatToObjectMap.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/FloatToObjectMap.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/FloatToObjectMap.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/FloatToObjectMap.java Sun Sep 23 21:39:18 2012
@@ -275,7 +275,6 @@ public class FloatToObjectMap<T> impleme
/**
* Calculating the baseHash index using the internal <code>hashFactor</code>.
- * @param key
*/
protected int calcBaseHashIndex(float key) {
return Float.floatToIntBits(key) & hashFactor;
@@ -339,7 +338,6 @@ public class FloatToObjectMap<T> impleme
/**
* Find the actual index of a given key.
*
- * @param key
* @return index of the key. zero if the key wasn't found.
*/
protected int find(float key) {
@@ -370,8 +368,6 @@ public class FloatToObjectMap<T> impleme
* Some methods use the baseHashIndex. If those call {@link #find} there's
* no need to re-calculate that hash.
*
- * @param key
- * @param baseHashIndex
* @return the index of the given key, or 0 as 'Ground' if the key wasn't
* found.
*/
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/IntHashSet.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/IntHashSet.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/IntHashSet.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/IntHashSet.java Sun Sep 23 21:39:18 2012
@@ -236,8 +236,6 @@ public class IntHashSet {
/**
* Calculating the baseHash index using the internal <code>hashFactor</code>
* .
- *
- * @param key
*/
protected int calcBaseHashIndex(int key) {
return key & hashFactor;
@@ -282,7 +280,6 @@ public class IntHashSet {
/**
* Find the actual index of a given key.
*
- * @param key
* @return index of the key. zero if the key wasn't found.
*/
protected int find(int key) {
@@ -313,8 +310,6 @@ public class IntHashSet {
* Some methods use the baseHashIndex. If those call {@link #find} there's
* no need to re-calculate that hash.
*
- * @param key
- * @param baseHashIndex
* @return the index of the given key, or 0 as 'Ground' if the key wasn't
* found.
*/
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/IntToDoubleMap.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/IntToDoubleMap.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/IntToDoubleMap.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/IntToDoubleMap.java Sun Sep 23 21:39:18 2012
@@ -276,8 +276,6 @@ public class IntToDoubleMap {
/**
* Calculating the baseHash index using the internal <code>hashFactor</code>
* .
- *
- * @param key
*/
protected int calcBaseHashIndex(int key) {
return key & hashFactor;
@@ -340,7 +338,6 @@ public class IntToDoubleMap {
/**
* Find the actual index of a given key.
*
- * @param key
* @return index of the key. zero if the key wasn't found.
*/
protected int find(int key) {
@@ -371,8 +368,6 @@ public class IntToDoubleMap {
* Some methods use the baseHashIndex. If those call {@link #find} there's
* no need to re-calculate that hash.
*
- * @param key
- * @param baseHashIndex
* @return the index of the given key, or 0 as 'Ground' if the key wasn't
* found.
*/
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/IntToIntMap.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/IntToIntMap.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/IntToIntMap.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/IntToIntMap.java Sun Sep 23 21:39:18 2012
@@ -273,8 +273,6 @@ public class IntToIntMap {
/**
* Calculating the baseHash index using the internal <code>hashFactor</code>.
- *
- * @param key
*/
protected int calcBaseHashIndex(int key) {
return key & hashFactor;
@@ -337,7 +335,6 @@ public class IntToIntMap {
/**
* Find the actual index of a given key.
*
- * @param key
* @return index of the key. zero if the key wasn't found.
*/
protected int find(int key) {
@@ -368,8 +365,6 @@ public class IntToIntMap {
* Some methods use the baseHashIndex. If those call {@link #find} there's
* no need to re-calculate that hash.
*
- * @param key
- * @param baseHashIndex
* @return the index of the given key, or 0 as 'Ground' if the key wasn't
* found.
*/
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/IntToObjectMap.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/IntToObjectMap.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/IntToObjectMap.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/IntToObjectMap.java Sun Sep 23 21:39:18 2012
@@ -275,7 +275,6 @@ public class IntToObjectMap<T> implement
/**
* Calculating the baseHash index using the internal <code>hashFactor</code>.
*
- * @param key
*/
protected int calcBaseHashIndex(int key) {
return key & hashFactor;
@@ -339,7 +338,6 @@ public class IntToObjectMap<T> implement
/**
* Find the actual index of a given key.
*
- * @param key
* @return index of the key. zero if the key wasn't found.
*/
protected int find(int key) {
@@ -370,8 +368,6 @@ public class IntToObjectMap<T> implement
* Some methods use the baseHashIndex. If those call {@link #find} there's
* no need to re-calculate that hash.
*
- * @param key
- * @param baseHashIndex
* @return the index of the given key, or 0 as 'Ground' if the key wasn't
* found.
*/
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/ObjectToFloatMap.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/ObjectToFloatMap.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/ObjectToFloatMap.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/ObjectToFloatMap.java Sun Sep 23 21:39:18 2012
@@ -275,8 +275,6 @@ public class ObjectToFloatMap<K> {
/**
* Calculating the baseHash index using the internal <code>hashFactor</code>.
- *
- * @param key
*/
protected int calcBaseHashIndex(K key) {
return key.hashCode() & hashFactor;
@@ -341,7 +339,6 @@ public class ObjectToFloatMap<K> {
/**
* Find the actual index of a given key.
*
- * @param key
* @return index of the key. zero if the key wasn't found.
*/
protected int find(K key) {
@@ -372,8 +369,6 @@ public class ObjectToFloatMap<K> {
* Some methods use the baseHashIndex. If those call {@link #find} there's
* no need to re-calculate that hash.
*
- * @param key
- * @param baseHashIndex
* @return the index of the given key, or 0 as 'Ground' if the key wasn't
* found.
*/
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/ObjectToIntMap.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/ObjectToIntMap.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/ObjectToIntMap.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/java/org/apache/lucene/util/collections/ObjectToIntMap.java Sun Sep 23 21:39:18 2012
@@ -275,8 +275,6 @@ public class ObjectToIntMap<K> {
/**
* Calculating the baseHash index using the internal <code>hashFactor</code>.
- *
- * @param key
*/
protected int calcBaseHashIndex(K key) {
return key.hashCode() & hashFactor;
@@ -341,7 +339,6 @@ public class ObjectToIntMap<K> {
/**
* Find the actual index of a given key.
*
- * @param key
* @return index of the key. zero if the key wasn't found.
*/
protected int find(K key) {
@@ -372,8 +369,6 @@ public class ObjectToIntMap<K> {
* Some methods use the baseHashIndex. If those call {@link #find} there's
* no need to re-calculate that hash.
*
- * @param key
- * @param baseHashIndex
* @return the index of the given key, or 0 as 'Ground' if the key wasn't
* found.
*/
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/index/CategoryContainerTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/index/CategoryContainerTest.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/index/CategoryContainerTest.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/index/CategoryContainerTest.java Sun Sep 23 21:39:18 2012
@@ -133,8 +133,6 @@ public class CategoryContainerTest exten
/**
* Test addition of {@link CategoryAttribute} object without properties to a
* {@link CategoryContainer}.
- *
- * @throws FacetException
*/
@Test
public void testAddCategoryAttributeWithoutProperties()
@@ -147,8 +145,6 @@ public class CategoryContainerTest exten
/**
* Test addition of {@link CategoryAttribute} object with property to a
* {@link CategoryContainer}.
- *
- * @throws FacetException
*/
@Test
public void testAddCategoryAttributeWithProperty() throws FacetException {
@@ -174,8 +170,6 @@ public class CategoryContainerTest exten
/**
* Verifies that a {@link CategoryAttributesStream} can be constructed from
* {@link CategoryContainer} and produce the correct number of tokens.
- *
- * @throws IOException
*/
@Test
public void testCategoryAttributesStream() throws IOException {
@@ -190,8 +184,6 @@ public class CategoryContainerTest exten
/**
* Test that {@link CategoryContainer} merges properties.
- *
- * @throws FacetException
*/
@Test
public void testCategoryAttributeMerge() throws FacetException {
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/index/streaming/CategoryAttributesStreamTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/index/streaming/CategoryAttributesStreamTest.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/index/streaming/CategoryAttributesStreamTest.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/index/streaming/CategoryAttributesStreamTest.java Sun Sep 23 21:39:18 2012
@@ -35,8 +35,6 @@ public class CategoryAttributesStreamTes
/**
* Verifies that a {@link CategoryAttributesStream} accepts
* {@link CategoryAttribute} and passes them on as tokens.
- *
- * @throws IOException
*/
@Test
public void testStream() throws IOException {
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/index/streaming/CategoryParentsStreamTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/index/streaming/CategoryParentsStreamTest.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/index/streaming/CategoryParentsStreamTest.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/index/streaming/CategoryParentsStreamTest.java Sun Sep 23 21:39:18 2012
@@ -41,8 +41,6 @@ public class CategoryParentsStreamTest e
* Verifies that a {@link CategoryParentsStream} can be constructed from
* {@link CategoryAttributesStream} and produces the correct number of
* tokens with default facet indexing params.
- *
- * @throws IOException
*/
@Test
public void testStreamDefaultParams() throws IOException {
@@ -68,8 +66,6 @@ public class CategoryParentsStreamTest e
* Verifies that a {@link CategoryParentsStream} can be constructed from
* {@link CategoryAttributesStream} and produces the correct number of
* tokens with non top level facet indexing params.
- *
- * @throws IOException
*/
@Test
public void testStreamNonTopLevelParams() throws IOException {
@@ -108,9 +104,6 @@ public class CategoryParentsStreamTest e
/**
* Verifies the correctness when no attributes in parents are retained in
* {@link CategoryParentsStream}.
- *
- * @throws IOException
- * @throws FacetException
*/
@Test
public void testNoRetainableAttributes() throws IOException {
@@ -142,9 +135,6 @@ public class CategoryParentsStreamTest e
/**
* Verifies the correctness when attributes in parents are retained in
* {@link CategoryParentsStream}.
- *
- * @throws IOException
- * @throws FacetException
*/
@Test
public void testRetainableAttributes() throws IOException {
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/index/streaming/CategoryTokenizerTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/index/streaming/CategoryTokenizerTest.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/index/streaming/CategoryTokenizerTest.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/index/streaming/CategoryTokenizerTest.java Sun Sep 23 21:39:18 2012
@@ -41,8 +41,6 @@ public class CategoryTokenizerTest exten
/**
* Verifies that a {@link CategoryTokenizer} adds the correct
* {@link CharTermAttribute}s to a {@link CategoryAttributesStream}.
- *
- * @throws IOException
*/
@Test
public void testTokensDefaultParams() throws IOException {
@@ -80,8 +78,6 @@ public class CategoryTokenizerTest exten
/**
* Verifies that {@link CategoryTokenizer} elongates the buffer in
* {@link CharTermAttribute} for long categories.
- *
- * @throws IOException
*/
@Test
public void testLongCategoryPath() throws IOException {
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/TestTaxonomyCombined.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/TestTaxonomyCombined.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/TestTaxonomyCombined.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/TestTaxonomyCombined.java Sun Sep 23 21:39:18 2012
@@ -215,8 +215,6 @@ public class TestTaxonomyCombined extend
* testWriterTwice3 is yet another test which tests creating a taxonomy
* in two separate writing sessions. This test used to fail because of
* a bug involving commit(), explained below, and now should succeed.
- *
- * @throws Exception
*/
@Test
public void testWriterTwice3() throws Exception {
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/directory/TestDirectoryTaxonomyReader.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/directory/TestDirectoryTaxonomyReader.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/directory/TestDirectoryTaxonomyReader.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/directory/TestDirectoryTaxonomyReader.java Sun Sep 23 21:39:18 2012
@@ -69,7 +69,6 @@ public class TestDirectoryTaxonomyReader
/**
* Test the boolean returned by TR.refresh
- * @throws Exception
*/
@Test
public void testReaderRefreshResult() throws Exception {
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/util/encoding/EncodingSpeed.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/util/encoding/EncodingSpeed.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/util/encoding/EncodingSpeed.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/facet/src/test/org/apache/lucene/util/encoding/EncodingSpeed.java Sun Sep 23 21:39:18 2012
@@ -46,10 +46,6 @@ public class EncodingSpeed {
private static NumberFormat nf;
- /**
- * @param args
- * @throws IOException
- */
public static void main(String[] args) throws IOException {
testFacetIDs(data3630, 3630);
testFacetIDs(data9910, 9910);
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/Highlighter.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/Highlighter.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/Highlighter.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/Highlighter.java Sun Sep 23 21:39:18 2012
@@ -174,11 +174,7 @@ public class Highlighter
* Low level api to get the most relevant (formatted) sections of the document.
* This method has been made public to allow visibility of score information held in TextFragment objects.
* Thanks to Jason Calabrese for help in redefining the interface.
- * @param tokenStream
- * @param text
- * @param maxNumFragments
- * @param mergeContiguousFragments
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
* @throws InvalidTokenOffsetsException thrown if any token's endOffset exceeds the provided text's length
*/
public final TextFragment[] getBestTextFragments(
@@ -492,9 +488,6 @@ public class Highlighter
return textFragmenter;
}
- /**
- * @param fragmenter
- */
public void setTextFragmenter(Fragmenter fragmenter)
{
textFragmenter = fragmenter;
@@ -509,9 +502,6 @@ public class Highlighter
}
- /**
- * @param scorer
- */
public void setFragmentScorer(Scorer scorer)
{
fragmentScorer = scorer;
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/QueryScorer.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/QueryScorer.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/QueryScorer.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/QueryScorer.java Sun Sep 23 21:39:18 2012
@@ -84,7 +84,6 @@ public class QueryScorer implements Scor
* @param query to use for highlighting
* @param reader {@link IndexReader} to use for quasi tf/idf scoring
* @param field to highlight - pass null to ignore fields
- * @param defaultField
*/
public QueryScorer(Query query, IndexReader reader, String field, String defaultField) {
this.defaultField = defaultField;
@@ -263,8 +262,6 @@ public class QueryScorer implements Scor
* ensure an efficient reset - if you are already using a different caching
* {@link TokenStream} impl and you don't want it to be wrapped, set this to
* false.
- *
- * @param wrap
*/
public void setWrapIfNotCachingTokenFilter(boolean wrap) {
this.wrapToCaching = wrap;
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/Scorer.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/Scorer.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/Scorer.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/Scorer.java Sun Sep 23 21:39:18 2012
@@ -35,7 +35,7 @@ public interface Scorer {
* @return either a {@link TokenStream} that the Highlighter should continue using (eg
* if you read the tokenSream in this method) or null to continue
* using the same {@link TokenStream} that was passed in.
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
public TokenStream init(TokenStream tokenStream) throws IOException;
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/TextFragment.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/TextFragment.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/TextFragment.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/TextFragment.java Sun Sep 23 21:39:18 2012
@@ -55,7 +55,6 @@ public class TextFragment
score=Math.max(score,frag2.score);
}
/**
- * @param fragment
* @return true if this fragment follows the one passed
*/
public boolean follows(TextFragment fragment)
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/TokenSources.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/TokenSources.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/TokenSources.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/TokenSources.java Sun Sep 23 21:39:18 2012
@@ -92,12 +92,8 @@ public class TokenSources {
* minimal (1000 invocations still registers 0 ms). So this "lazy" (flexible?)
* approach to coding is probably acceptable
*
- * @param reader
- * @param docId
- * @param field
- * @param analyzer
* @return null if field not stored correctly
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
public static TokenStream getAnyTokenStream(IndexReader reader, int docId,
String field, Analyzer analyzer) throws IOException {
@@ -149,7 +145,6 @@ public class TokenSources {
* compression (less disk IO) or slower (more CPU burn) depending on the
* content.
*
- * @param tpv
* @param tokenPositionsGuaranteedContiguous true if the token position
* numbers have no overlaps or gaps. If looking to eek out the last
* drops of performance, set to true. If in doubt, set to false.
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/WeightedSpanTerm.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/WeightedSpanTerm.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/WeightedSpanTerm.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/WeightedSpanTerm.java Sun Sep 23 21:39:18 2012
@@ -30,20 +30,11 @@ public class WeightedSpanTerm extends We
boolean positionSensitive;
private List<PositionSpan> positionSpans = new ArrayList<PositionSpan>();
- /**
- * @param weight
- * @param term
- */
public WeightedSpanTerm(float weight, String term) {
super(weight, term);
this.positionSpans = new ArrayList<PositionSpan>();
}
- /**
- * @param weight
- * @param term
- * @param positionSensitive
- */
public WeightedSpanTerm(float weight, String term, boolean positionSensitive) {
super(weight, term);
this.positionSensitive = positionSensitive;
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/WeightedSpanTermExtractor.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/WeightedSpanTermExtractor.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/WeightedSpanTermExtractor.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/WeightedSpanTermExtractor.java Sun Sep 23 21:39:18 2012
@@ -88,7 +88,7 @@ public class WeightedSpanTermExtractor {
* Query to extract Terms from
* @param terms
* Map to place created WeightedSpanTerms in
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
protected void extract(Query query, Map<String,WeightedSpanTerm> terms) throws IOException {
if (query instanceof BooleanQuery) {
@@ -221,7 +221,7 @@ public class WeightedSpanTermExtractor {
* Map to place created WeightedSpanTerms in
* @param spanQuery
* SpanQuery to extract Terms from
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
protected void extractWeightedSpanTerms(Map<String,WeightedSpanTerm> terms, SpanQuery spanQuery) throws IOException {
Set<String> fieldNames;
@@ -309,7 +309,7 @@ public class WeightedSpanTermExtractor {
* Map to place created WeightedSpanTerms in
* @param query
* Query to extract Terms from
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
protected void extractWeightedTerms(Map<String,WeightedSpanTerm> terms, Query query) throws IOException {
Set<Term> nonWeightedTerms = new HashSet<Term>();
@@ -362,7 +362,7 @@ public class WeightedSpanTermExtractor {
* @param tokenStream
* of text to be highlighted
* @return Map containing WeightedSpanTerms
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
public Map<String,WeightedSpanTerm> getWeightedSpanTerms(Query query, TokenStream tokenStream)
throws IOException {
@@ -381,7 +381,7 @@ public class WeightedSpanTermExtractor {
* @param fieldName
* restricts Term's used based on field name
* @return Map containing WeightedSpanTerms
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
public Map<String,WeightedSpanTerm> getWeightedSpanTerms(Query query, TokenStream tokenStream,
String fieldName) throws IOException {
@@ -417,7 +417,7 @@ public class WeightedSpanTermExtractor {
* @param reader
* to use for scoring
* @return Map of WeightedSpanTerms with quasi tf/idf scores
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
public Map<String,WeightedSpanTerm> getWeightedSpanTermsWithScores(Query query, TokenStream tokenStream, String fieldName,
IndexReader reader) throws IOException {
@@ -551,8 +551,6 @@ public class WeightedSpanTermExtractor {
* ensure an efficient reset - if you are already using a different caching
* {@link TokenStream} impl and you don't want it to be wrapped, set this to
* false.
- *
- * @param wrap
*/
public void setWrapIfNotCachingTokenFilter(boolean wrap) {
this.wrapToCaching = wrap;
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/vectorhighlight/FastVectorHighlighter.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/vectorhighlight/FastVectorHighlighter.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/vectorhighlight/FastVectorHighlighter.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/vectorhighlight/FastVectorHighlighter.java Sun Sep 23 21:39:18 2012
@@ -106,7 +106,7 @@ public class FastVectorHighlighter {
* @param fieldName field of the document to be highlighted
* @param fragCharSize the length (number of chars) of a fragment
* @return the best fragment (snippet) string
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
public final String getBestFragment( final FieldQuery fieldQuery, IndexReader reader, int docId,
String fieldName, int fragCharSize ) throws IOException {
@@ -126,7 +126,7 @@ public class FastVectorHighlighter {
* @param maxNumFragments maximum number of fragments
* @return created fragments or null when no fragments created.
* size of the array can be less than maxNumFragments
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
public final String[] getBestFragments( final FieldQuery fieldQuery, IndexReader reader, int docId,
String fieldName, int fragCharSize, int maxNumFragments ) throws IOException {
@@ -149,7 +149,7 @@ public class FastVectorHighlighter {
* @param postTags post-tags to be used to highlight terms
* @param encoder an encoder that generates encoded text
* @return the best fragment (snippet) string
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
public final String getBestFragment( final FieldQuery fieldQuery, IndexReader reader, int docId,
String fieldName, int fragCharSize,
@@ -175,7 +175,7 @@ public class FastVectorHighlighter {
* @param encoder an encoder that generates encoded text
* @return created fragments or null when no fragments created.
* size of the array can be less than maxNumFragments
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
public final String[] getBestFragments( final FieldQuery fieldQuery, IndexReader reader, int docId,
String fieldName, int fragCharSize, int maxNumFragments,
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/vectorhighlight/FieldQuery.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/vectorhighlight/FieldQuery.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/vectorhighlight/FieldQuery.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/vectorhighlight/FieldQuery.java Sun Sep 23 21:39:18 2012
@@ -292,8 +292,6 @@ public class FieldQuery {
/**
*
- * @param fieldName
- * @param term
* @return QueryPhraseMap
*/
public QueryPhraseMap getFieldTermMap( String fieldName, String term ){
@@ -303,8 +301,6 @@ public class FieldQuery {
/**
*
- * @param fieldName
- * @param phraseCandidate
* @return QueryPhraseMap
*/
public QueryPhraseMap searchPhrase( String fieldName, final List<TermInfo> phraseCandidate ){
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/vectorhighlight/FieldTermStack.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/vectorhighlight/FieldTermStack.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/vectorhighlight/FieldTermStack.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/vectorhighlight/FieldTermStack.java Sun Sep 23 21:39:18 2012
@@ -70,7 +70,7 @@ public class FieldTermStack {
* @param docId document id to be highlighted
* @param fieldName field of the document to be highlighted
* @param fieldQuery FieldQuery object
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
public FieldTermStack( IndexReader reader, int docId, String fieldName, final FieldQuery fieldQuery ) throws IOException {
this.fieldName = fieldName;
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/vectorhighlight/FragmentsBuilder.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/vectorhighlight/FragmentsBuilder.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/vectorhighlight/FragmentsBuilder.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/java/org/apache/lucene/search/vectorhighlight/FragmentsBuilder.java Sun Sep 23 21:39:18 2012
@@ -37,7 +37,7 @@ public interface FragmentsBuilder {
* @param fieldName field of the document to be highlighted
* @param fieldFragList FieldFragList object
* @return a created fragment or null when no fragment created
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
public String createFragment( IndexReader reader, int docId, String fieldName,
FieldFragList fieldFragList ) throws IOException;
@@ -52,7 +52,7 @@ public interface FragmentsBuilder {
* @param maxNumFragments maximum number of fragments
* @return created fragments or null when no fragments created.
* size of the array can be less than maxNumFragments
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
public String[] createFragments( IndexReader reader, int docId, String fieldName,
FieldFragList fieldFragList, int maxNumFragments ) throws IOException;
@@ -68,7 +68,7 @@ public interface FragmentsBuilder {
* @param postTags post-tags to be used to highlight terms
* @param encoder an encoder that generates encoded text
* @return a created fragment or null when no fragment created
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
public String createFragment( IndexReader reader, int docId, String fieldName,
FieldFragList fieldFragList, String[] preTags, String[] postTags,
@@ -87,7 +87,7 @@ public interface FragmentsBuilder {
* @param encoder an encoder that generates encoded text
* @return created fragments or null when no fragments created.
* size of the array can be less than maxNumFragments
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
public String[] createFragments( IndexReader reader, int docId, String fieldName,
FieldFragList fieldFragList, int maxNumFragments, String[] preTags, String[] postTags,
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java Sun Sep 23 21:39:18 2012
@@ -152,7 +152,6 @@ public class HighlighterTest extends Bas
/**
* This method intended for use with <tt>testHighlightingWithDefaultField()</tt>
- * @throws InvalidTokenOffsetsException
*/
private String highlightField(Query query, String fieldName, String text)
throws IOException, InvalidTokenOffsetsException {
@@ -1334,8 +1333,6 @@ public class HighlighterTest extends Bas
/**
* Demonstrates creation of an XHTML compliant doc using new encoding facilities.
- *
- * @throws Exception
*/
public void testEncoding() throws Exception {
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/test/org/apache/lucene/search/highlight/custom/HighlightCustomQueryTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/test/org/apache/lucene/search/highlight/custom/HighlightCustomQueryTest.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/test/org/apache/lucene/search/highlight/custom/HighlightCustomQueryTest.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/highlighter/src/test/org/apache/lucene/search/highlight/custom/HighlightCustomQueryTest.java Sun Sep 23 21:39:18 2012
@@ -85,8 +85,6 @@ public class HighlightCustomQueryTest ex
/**
* This method intended for use with
* <tt>testHighlightingWithDefaultField()</tt>
- *
- * @throws InvalidTokenOffsetsException
*/
private String highlightField(Query query, String fieldName,
String text) throws IOException, InvalidTokenOffsetsException {
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/misc/src/java/org/apache/lucene/index/IndexSplitter.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/misc/src/java/org/apache/lucene/index/IndexSplitter.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/misc/src/java/org/apache/lucene/index/IndexSplitter.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/misc/src/java/org/apache/lucene/index/IndexSplitter.java Sun Sep 23 21:39:18 2012
@@ -55,9 +55,6 @@ public class IndexSplitter {
File dir;
- /**
- * @param args
- */
public static void main(String[] args) throws Exception {
if (args.length < 2) {
System.err
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/misc/src/java/org/apache/lucene/index/MultiPassIndexSplitter.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/misc/src/java/org/apache/lucene/index/MultiPassIndexSplitter.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/misc/src/java/org/apache/lucene/index/MultiPassIndexSplitter.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/misc/src/java/org/apache/lucene/index/MultiPassIndexSplitter.java Sun Sep 23 21:39:18 2012
@@ -55,7 +55,7 @@ public class MultiPassIndexSplitter {
* @param seq if true, then the source index will be split into equal
* increasing ranges of document id-s. If false, source document id-s will be
* assigned in a deterministic round-robin fashion to one of the output splits.
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
public void split(Version version, IndexReader in, Directory[] outputs, boolean seq) throws IOException {
if (outputs == null || outputs.length < 2) {
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/misc/src/java/org/apache/lucene/misc/HighFreqTerms.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/misc/src/java/org/apache/lucene/misc/HighFreqTerms.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/misc/src/java/org/apache/lucene/misc/HighFreqTerms.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/misc/src/java/org/apache/lucene/misc/HighFreqTerms.java Sun Sep 23 21:39:18 2012
@@ -106,12 +106,7 @@ public class HighFreqTerms {
+ "java org.apache.lucene.misc.HighFreqTerms <index dir> [-t] [number_terms] [field]\n\t -t: include totalTermFreq\n\n");
}
/**
- *
- * @param reader
- * @param numTerms
- * @param field
- * @return TermStats[] ordered by terms with highest docFreq first.
- * @throws Exception
+ * Returns TermStats[] ordered by terms with highest docFreq first.
*/
public static TermStats[] getHighFreqTerms(IndexReader reader, int numTerms, String field) throws Exception {
TermStatsQueue tiq = null;
@@ -157,11 +152,9 @@ public class HighFreqTerms {
* containing the term and stores the total in the output array of TermStats.
* Output array is sorted by highest total tf.
*
- * @param reader
* @param terms
* TermStats[]
* @return TermStats[]
- * @throws Exception
*/
public static TermStats[] sortByTotalTermFreq(IndexReader reader, TermStats[] terms) throws Exception {
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/misc/src/java/org/apache/lucene/store/NativeUnixDirectory.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/misc/src/java/org/apache/lucene/store/NativeUnixDirectory.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/misc/src/java/org/apache/lucene/store/NativeUnixDirectory.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/misc/src/java/org/apache/lucene/store/NativeUnixDirectory.java Sun Sep 23 21:39:18 2012
@@ -97,7 +97,7 @@ public class NativeUnixDirectory extends
* not use direct IO. See {@link
* #DEFAULT_MIN_BYTES_DIRECT}
* @param delegate fallback Directory for non-merges
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
public NativeUnixDirectory(File path, int mergeBufferSize, long minBytesDirect, Directory delegate) throws IOException {
super(path, delegate.getLockFactory());
@@ -113,7 +113,7 @@ public class NativeUnixDirectory extends
*
* @param path the path of the directory
* @param delegate fallback Directory for non-merges
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
public NativeUnixDirectory(File path, Directory delegate) throws IOException {
this(path, DEFAULT_MERGE_BUFFER_SIZE, DEFAULT_MIN_BYTES_DIRECT, delegate);
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/misc/src/java/org/apache/lucene/store/WindowsDirectory.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/misc/src/java/org/apache/lucene/store/WindowsDirectory.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/misc/src/java/org/apache/lucene/store/WindowsDirectory.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/misc/src/java/org/apache/lucene/store/WindowsDirectory.java Sun Sep 23 21:39:18 2012
@@ -54,7 +54,7 @@ public class WindowsDirectory extends FS
* @param path the path of the directory
* @param lockFactory the lock factory to use, or null for the default
* ({@link NativeFSLockFactory});
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
public WindowsDirectory(File path, LockFactory lockFactory) throws IOException {
super(path, lockFactory);
@@ -63,7 +63,7 @@ public class WindowsDirectory extends FS
/** Create a new WindowsDirectory for the named location and {@link NativeFSLockFactory}.
*
* @param path the path of the directory
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error
*/
public WindowsDirectory(File path) throws IOException {
super(path, null);
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queries/src/java/org/apache/lucene/queries/TermsFilter.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queries/src/java/org/apache/lucene/queries/TermsFilter.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queries/src/java/org/apache/lucene/queries/TermsFilter.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queries/src/java/org/apache/lucene/queries/TermsFilter.java Sun Sep 23 21:39:18 2012
@@ -42,8 +42,6 @@ public class TermsFilter extends Filter
/**
* Adds a term to the list of acceptable terms
- *
- * @param term
*/
public void addTerm(Term term) {
terms.add(term);
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queries/src/java/org/apache/lucene/queries/mlt/MoreLikeThis.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queries/src/java/org/apache/lucene/queries/mlt/MoreLikeThis.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queries/src/java/org/apache/lucene/queries/mlt/MoreLikeThis.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queries/src/java/org/apache/lucene/queries/mlt/MoreLikeThis.java Sun Sep 23 21:39:18 2012
@@ -290,6 +290,7 @@ public final class MoreLikeThis {
* Returns the boost factor used when boosting terms
*
* @return the boost factor used when boosting terms
+ * @see #setBoostFactor(float)
*/
public float getBoostFactor() {
return boostFactor;
@@ -298,7 +299,7 @@ public final class MoreLikeThis {
/**
* Sets the boost factor to use when boosting terms
*
- * @param boostFactor
+ * @see #getBoostFactor()
*/
public void setBoostFactor(float boostFactor) {
this.boostFactor = boostFactor;
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/analyzing/AnalyzingQueryParser.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/analyzing/AnalyzingQueryParser.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/analyzing/AnalyzingQueryParser.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/analyzing/AnalyzingQueryParser.java Sun Sep 23 21:39:18 2012
@@ -72,7 +72,6 @@ public class AnalyzingQueryParser extend
* characters (? or *), but is not simple prefix term
*
* @return Resulting {@link Query} built for the term
- * @throws ParseException
*/
@Override
protected Query getWildcardQuery(String field, String termStr) throws ParseException {
@@ -190,7 +189,6 @@ public class AnalyzingQueryParser extend
* (<b>without</b> trailing '*' character!)
*
* @return Resulting {@link Query} built for the term
- * @throws ParseException
*/
@Override
protected Query getPrefixQuery(String field, String termStr) throws ParseException {
@@ -243,7 +241,6 @@ public class AnalyzingQueryParser extend
* @param termStr Term token to use for building term for the query
*
* @return Resulting {@link Query} built for the term
- * @exception ParseException
*/
@Override
protected Query getFuzzyQuery(String field, String termStr, float minSimilarity)
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/classic/QueryParserBase.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/classic/QueryParserBase.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/classic/QueryParserBase.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/classic/QueryParserBase.java Sun Sep 23 21:39:18 2012
@@ -666,10 +666,6 @@ public abstract class QueryParserBase im
return query;
}
- /**
- *
- * @exception org.apache.lucene.queryparser.classic.ParseException
- */
protected Query getRangeQuery(String field,
String part1,
String part2,
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/builders/QueryBuilder.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/builders/QueryBuilder.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/builders/QueryBuilder.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/builders/QueryBuilder.java Sun Sep 23 21:39:18 2012
@@ -36,8 +36,6 @@ public interface QueryBuilder {
* the query tree root node
*
* @return some object generated from the query tree
- *
- * @throws QueryNodeException
*/
Object build(QueryNode queryNode) throws QueryNodeException;
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/config/AbstractQueryConfig.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/config/AbstractQueryConfig.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/config/AbstractQueryConfig.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/config/AbstractQueryConfig.java Sun Sep 23 21:39:18 2012
@@ -81,7 +81,7 @@ public abstract class AbstractQueryConfi
*
* @param <T> the value's type
* @param key the key, cannot be <code>null</code>
- * @param value
+ * @param value value to set
*/
public <T> void set(ConfigurationKey<T> key, T value) {
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/nodes/GroupQueryNode.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/nodes/GroupQueryNode.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/nodes/GroupQueryNode.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/nodes/GroupQueryNode.java Sun Sep 23 21:39:18 2012
@@ -71,9 +71,6 @@ public class GroupQueryNode extends Quer
return clone;
}
- /**
- * @param child
- */
public void setChild(QueryNode child) {
List<QueryNode> list = new ArrayList<QueryNode>();
list.add(child);
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/nodes/ModifierQueryNode.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/nodes/ModifierQueryNode.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/nodes/ModifierQueryNode.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/nodes/ModifierQueryNode.java Sun Sep 23 21:39:18 2012
@@ -149,9 +149,6 @@ public class ModifierQueryNode extends Q
return clone;
}
- /**
- * @param child
- */
public void setChild(QueryNode child) {
List<QueryNode> list = new ArrayList<QueryNode>();
list.add(child);
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/nodes/QueryNode.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/nodes/QueryNode.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/nodes/QueryNode.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/nodes/QueryNode.java Sun Sep 23 21:39:18 2012
@@ -46,8 +46,7 @@ public interface QueryNode {
public boolean containsTag(String tagName);
/**
- * @param tagName
- * @return of stored on under that tag name
+ * Returns object stored under that tag name
*/
public Object getTag(String tagName);
@@ -58,7 +57,6 @@ public interface QueryNode {
* when you call the cloneTree() method
*
* @return the cloned tree
- * @throws CloneNotSupportedException
*/
public QueryNode cloneTree() throws CloneNotSupportedException;
@@ -77,16 +75,11 @@ public interface QueryNode {
* Associate the specified value with the specified tagName. If the tagName
* already exists, the old value is replaced. The tagName and value cannot be
* null. tagName will be converted to lowercase.
- *
- * @param tagName
- * @param value
*/
public void setTag(String tagName, Object value);
/**
* Unset a tag. tagName will be converted to lowercase.
- *
- * @param tagName
*/
public void unsetTag(String tagName);
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/processors/QueryNodeProcessor.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/processors/QueryNodeProcessor.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/processors/QueryNodeProcessor.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/processors/QueryNodeProcessor.java Sun Sep 23 21:39:18 2012
@@ -55,15 +55,11 @@ public interface QueryNodeProcessor {
* tree root node
*
* @return the processed query tree
- *
- * @throws QueryNodeException
*/
public QueryNode process(QueryNode queryTree) throws QueryNodeException;
/**
* Sets the {@link QueryConfigHandler} associated to the query tree.
- *
- * @param queryConfigHandler
*/
public void setQueryConfigHandler(QueryConfigHandler queryConfigHandler);
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/util/UnescapedCharSequence.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/util/UnescapedCharSequence.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/util/UnescapedCharSequence.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/util/UnescapedCharSequence.java Sun Sep 23 21:39:18 2012
@@ -29,11 +29,6 @@ public final class UnescapedCharSequence
/**
* Create a escaped CharSequence
- *
- * @param chars
- * @param wasEscaped
- * @param offset
- * @param length
*/
public UnescapedCharSequence(char[] chars, boolean[] wasEscaped, int offset,
int length) {
@@ -45,8 +40,6 @@ public final class UnescapedCharSequence
/**
* Create a non-escaped CharSequence
- *
- * @param text
*/
public UnescapedCharSequence(CharSequence text) {
this.chars = new char[text.length()];
@@ -59,8 +52,6 @@ public final class UnescapedCharSequence
/**
* Create a copy of an existent UnescapedCharSequence
- *
- * @param text
*/
@SuppressWarnings("unused")
private UnescapedCharSequence(UnescapedCharSequence text) {
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/messages/NLS.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/messages/NLS.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/messages/NLS.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/messages/NLS.java Sun Sep 23 21:39:18 2012
@@ -122,9 +122,6 @@ public class NLS {
return null;
}
- /**
- * @param clazz
- */
private static void load(Class<? extends NLS> clazz) {
final Field[] fieldArray = clazz.getDeclaredFields();
@@ -139,10 +136,6 @@ public class NLS {
}
}
- /**
- * @param field
- * @param isFieldAccessible
- */
private static void loadfieldValue(Field field, boolean isFieldAccessible,
Class<? extends NLS> clazz) {
int MOD_EXPECTED = Modifier.PUBLIC | Modifier.STATIC;
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/nodes/StandardBooleanQueryNode.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/nodes/StandardBooleanQueryNode.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/nodes/StandardBooleanQueryNode.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/nodes/StandardBooleanQueryNode.java Sun Sep 23 21:39:18 2012
@@ -36,9 +36,6 @@ public class StandardBooleanQueryNode ex
private boolean disableCoord;
- /**
- * @param clauses
- */
public StandardBooleanQueryNode(List<QueryNode> clauses, boolean disableCoord) {
super(clauses);
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/surround/query/RewriteQuery.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/surround/query/RewriteQuery.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/surround/query/RewriteQuery.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/surround/query/RewriteQuery.java Sun Sep 23 21:39:18 2012
@@ -72,7 +72,9 @@ abstract class RewriteQuery<SQ extends S
&& srndQuery.equals(other.srndQuery);
}
- /** @throws UnsupportedOperationException */
+ /**
+ * Not supported by this query.
+ * @throws UnsupportedOperationException always: clone is not supported. */
@Override
public RewriteQuery clone() {
throw new UnsupportedOperationException();
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/CoreParser.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/CoreParser.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/CoreParser.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/CoreParser.java Sun Sep 23 21:39:18 2012
@@ -45,7 +45,6 @@ public class CoreParser implements Query
* Construct an XML parser that uses a single instance QueryParser for handling
* UserQuery tags - all parse operations are synchronised on this parser
*
- * @param analyzer
* @param parser A QueryParser which will be synchronized on during parse calls.
*/
public CoreParser(Analyzer analyzer, QueryParser parser) {
@@ -56,7 +55,6 @@ public class CoreParser implements Query
* Constructs an XML parser that creates a QueryParser for each UserQuery request.
*
* @param defaultField The default field name used by QueryParsers constructed for UserQuery tags
- * @param analyzer
*/
public CoreParser(String defaultField, Analyzer analyzer) {
this(defaultField, analyzer, null);
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/CorePlusExtensionsParser.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/CorePlusExtensionsParser.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/CorePlusExtensionsParser.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/CorePlusExtensionsParser.java Sun Sep 23 21:39:18 2012
@@ -32,7 +32,6 @@ public class CorePlusExtensionsParser ex
* Construct an XML parser that uses a single instance QueryParser for handling
* UserQuery tags - all parse operations are synchronized on this parser
*
- * @param analyzer
* @param parser A QueryParser which will be synchronized on during parse calls.
*/
public CorePlusExtensionsParser(Analyzer analyzer, QueryParser parser) {
@@ -43,7 +42,6 @@ public class CorePlusExtensionsParser ex
* Constructs an XML parser that creates a QueryParser for each UserQuery request.
*
* @param defaultField The default field name used by QueryParsers constructed for UserQuery tags
- * @param analyzer
*/
public CorePlusExtensionsParser(String defaultField, Analyzer analyzer) {
this(defaultField, analyzer, null);
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/DOMUtils.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/DOMUtils.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/DOMUtils.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/DOMUtils.java Sun Sep 23 21:39:18 2012
@@ -89,8 +89,6 @@ public class DOMUtils {
/**
* Returns an attribute value from this node, or first parent node with this attribute defined
*
- * @param element
- * @param attributeName
* @return A non-zero-length value if defined, otherwise null
*/
public static String getAttributeWithInheritance(Element element, String attributeName) {
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/ParserException.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/ParserException.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/ParserException.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/ParserException.java Sun Sep 23 21:39:18 2012
@@ -25,31 +25,18 @@ package org.apache.lucene.queryparser.xm
*/
public class ParserException extends Exception {
- /**
- *
- */
public ParserException() {
super();
}
- /**
- * @param message
- */
public ParserException(String message) {
super(message);
}
- /**
- * @param message
- * @param cause
- */
public ParserException(String message, Throwable cause) {
super(message, cause);
}
- /**
- * @param cause
- */
public ParserException(Throwable cause) {
super(cause);
}
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/NumericRangeFilterBuilder.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/NumericRangeFilterBuilder.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/NumericRangeFilterBuilder.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/NumericRangeFilterBuilder.java Sun Sep 23 21:39:18 2012
@@ -107,8 +107,6 @@ public class NumericRangeFilterBuilder i
* any documents.
* <p/>
* Defaults to false.
- *
- * @param strictMode
*/
public void setStrictMode(boolean strictMode) {
this.strictMode = strictMode;
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanNotBuilder.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanNotBuilder.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanNotBuilder.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanNotBuilder.java Sun Sep 23 21:39:18 2012
@@ -29,9 +29,6 @@ public class SpanNotBuilder extends Span
private final SpanQueryBuilder factory;
- /**
- * @param factory
- */
public SpanNotBuilder(SpanQueryBuilder factory) {
this.factory = factory;
}
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanOrTermsBuilder.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanOrTermsBuilder.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanOrTermsBuilder.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanOrTermsBuilder.java Sun Sep 23 21:39:18 2012
@@ -40,9 +40,6 @@ public class SpanOrTermsBuilder extends
private final Analyzer analyzer;
- /**
- * @param analyzer
- */
public SpanOrTermsBuilder(Analyzer analyzer) {
this.analyzer = analyzer;
}
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/TermsFilterBuilder.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/TermsFilterBuilder.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/TermsFilterBuilder.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/TermsFilterBuilder.java Sun Sep 23 21:39:18 2012
@@ -39,9 +39,6 @@ public class TermsFilterBuilder implemen
private final Analyzer analyzer;
- /**
- * @param analyzer
- */
public TermsFilterBuilder(Analyzer analyzer) {
this.analyzer = analyzer;
}
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/UserInputQueryBuilder.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/UserInputQueryBuilder.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/UserInputQueryBuilder.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/UserInputQueryBuilder.java Sun Sep 23 21:39:18 2012
@@ -82,8 +82,6 @@ public class UserInputQueryBuilder imple
/**
* Method to create a QueryParser - designed to be overridden
*
- * @param fieldName
- * @param analyzer
* @return QueryParser
*/
protected QueryParser createQueryParser(String fieldName, Analyzer analyzer) {
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/FuzzyLikeThisQuery.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/FuzzyLikeThisQuery.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/FuzzyLikeThisQuery.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/FuzzyLikeThisQuery.java Sun Sep 23 21:39:18 2012
@@ -110,7 +110,6 @@ public class FuzzyLikeThisQuery extends
/**
*
* @param maxNumTerms The total number of terms clauses that will appear once rewritten as a BooleanQuery
- * @param analyzer
*/
public FuzzyLikeThisQuery(int maxNumTerms, Analyzer analyzer)
{
@@ -180,7 +179,6 @@ public class FuzzyLikeThisQuery extends
/**
* Adds user input for "fuzzification"
* @param queryString The string which will be parsed by the analyzer and for which fuzzy variants will be parsed
- * @param fieldName
* @param minSimilarity The minimum similarity of the term variants (see FuzzyTermsEnum)
* @param prefixLength Length of required common prefix on variant terms (see FuzzyTermsEnum)
*/
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/SlowCollatedTermRangeQuery.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/SlowCollatedTermRangeQuery.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/SlowCollatedTermRangeQuery.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/SlowCollatedTermRangeQuery.java Sun Sep 23 21:39:18 2012
@@ -110,7 +110,7 @@ public class SlowCollatedTermRangeQuery
lowerTerm, upperTerm, includeLower, includeUpper, collator);
}
- /** @deprecated */
+ /** @deprecated Use {@link #getField()} instead. */
@Deprecated
public String field() {
return getField();
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/SlowCollatedTermRangeTermsEnum.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/SlowCollatedTermRangeTermsEnum.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/SlowCollatedTermRangeTermsEnum.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/SlowCollatedTermRangeTermsEnum.java Sun Sep 23 21:39:18 2012
@@ -50,7 +50,7 @@ public class SlowCollatedTermRangeTermsE
* (you can't select all but the first or last term without
* explicitly specifying the term to exclude.)
*
- * @param tenum
+ * @param tenum source of the terms to enumerate.
* @param lowerTermText
* The term text at the lower end of the range
* @param upperTermText
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/SlowFuzzyTermsEnum.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/SlowFuzzyTermsEnum.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/SlowFuzzyTermsEnum.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/SlowFuzzyTermsEnum.java Sun Sep 23 21:39:18 2012
@@ -83,7 +83,7 @@ public final class SlowFuzzyTermsEnum ex
* After calling the constructor the enumeration is already pointing to the first
* valid term if such a term exists.
*
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error.
*/
public LinearFuzzyTermsEnum() throws IOException {
super(terms.iterator(null));
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/regex/RegexQuery.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/regex/RegexQuery.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/regex/RegexQuery.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/regex/RegexQuery.java Sun Sep 23 21:39:18 2012
@@ -51,18 +51,10 @@ public class RegexQuery extends MultiTer
return term;
}
- /**
- * Defines which {@link RegexCapabilities} implementation is used by this instance.
- *
- * @param impl
- */
public void setRegexImplementation(RegexCapabilities impl) {
this.regexImpl = impl;
}
- /**
- * @return The implementation used by this instance.
- */
public RegexCapabilities getRegexImplementation() {
return regexImpl;
}
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/regex/RegexQueryCapable.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/regex/RegexQueryCapable.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/regex/RegexQueryCapable.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/sandbox/src/java/org/apache/lucene/sandbox/queries/regex/RegexQueryCapable.java Sun Sep 23 21:39:18 2012
@@ -23,6 +23,14 @@ package org.apache.lucene.sandbox.querie
*/
public interface RegexQueryCapable {
+ /**
+ * Defines which {@link RegexCapabilities} implementation is used by this instance.
+ * @see #getRegexImplementation()
+ */
void setRegexImplementation(RegexCapabilities impl);
+ /**
+ * Returns the implementation used by this instance.
+ * @see #setRegexImplementation(RegexCapabilities)
+ */
RegexCapabilities getRegexImplementation();
}
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/spatial/src/java/org/apache/lucene/spatial/query/SpatialArgs.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/spatial/src/java/org/apache/lucene/spatial/query/SpatialArgs.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/spatial/src/java/org/apache/lucene/spatial/query/SpatialArgs.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/spatial/src/java/org/apache/lucene/spatial/query/SpatialArgs.java Sun Sep 23 21:39:18 2012
@@ -73,7 +73,6 @@ public class SpatialArgs {
* Gets the error distance that specifies how precise the query shape is. This
* looks at {@link #getDistErr()}, {@link #getDistErrPct()}, and {@code
* defaultDistErrPct}.
- * @param ctx
* @param defaultDistErrPct 0 to 0.5
* @return >= 0
*/
Modified: lucene/dev/branches/lucene_solr_4_0/lucene/suggest/src/java/org/apache/lucene/search/spell/DirectSpellChecker.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/lucene/suggest/src/java/org/apache/lucene/search/spell/DirectSpellChecker.java?rev=1389149&r1=1389148&r2=1389149&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_0/lucene/suggest/src/java/org/apache/lucene/search/spell/DirectSpellChecker.java (original)
+++ lucene/dev/branches/lucene_solr_4_0/lucene/suggest/src/java/org/apache/lucene/search/spell/DirectSpellChecker.java Sun Sep 23 21:39:18 2012
@@ -313,7 +313,7 @@ public class DirectSpellChecker {
* @param suggestMode specifies when to return suggested words
* @param accuracy return only suggested words that match with this similarity
* @return sorted list of the suggested words according to the comparator
- * @throws IOException
+ * @throws IOException If there is a low-level I/O error.
*/
public SuggestWord[] suggestSimilar(Term term, int numSug, IndexReader ir,
SuggestMode suggestMode, float accuracy) throws IOException {