mirror of https://github.com/apache/lucene.git
convert the remaining @todo's to TODO:
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808211 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7234bcd1bb
commit
c593328eb0
|
@ -253,7 +253,7 @@ public final class RussianAnalyzer extends Analyzer
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Builds an analyzer with the given stop words.
|
* Builds an analyzer with the given stop words.
|
||||||
* @todo create a Set version of this ctor
|
* TODO: create a Set version of this ctor
|
||||||
* @deprecated Use {@link #RussianAnalyzer(Map)} instead.
|
* @deprecated Use {@link #RussianAnalyzer(Map)} instead.
|
||||||
*/
|
*/
|
||||||
public RussianAnalyzer(char[] charset, Map stopwords)
|
public RussianAnalyzer(char[] charset, Map stopwords)
|
||||||
|
@ -264,7 +264,7 @@ public final class RussianAnalyzer extends Analyzer
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Builds an analyzer with the given stop words.
|
* Builds an analyzer with the given stop words.
|
||||||
* @todo create a Set version of this ctor
|
* TODO: create a Set version of this ctor
|
||||||
*/
|
*/
|
||||||
public RussianAnalyzer(Map stopwords)
|
public RussianAnalyzer(Map stopwords)
|
||||||
{
|
{
|
||||||
|
|
|
@ -162,7 +162,7 @@ public class IndexTask extends Task {
|
||||||
/**
|
/**
|
||||||
* Sets the analyzer based on the builtin Lucene analyzer types.
|
* Sets the analyzer based on the builtin Lucene analyzer types.
|
||||||
*
|
*
|
||||||
* @todo Enforce analyzer and analyzerClassName to be mutually exclusive
|
* TODO: Enforce analyzer and analyzerClassName to be mutually exclusive
|
||||||
*/
|
*/
|
||||||
public void setAnalyzer(AnalyzerType type) {
|
public void setAnalyzer(AnalyzerType type) {
|
||||||
analyzerClassName = type.getClassname();
|
analyzerClassName = type.getClassname();
|
||||||
|
@ -244,7 +244,7 @@ public class IndexTask extends Task {
|
||||||
* Index the fileset.
|
* Index the fileset.
|
||||||
*
|
*
|
||||||
*@exception IOException if Lucene I/O exception
|
*@exception IOException if Lucene I/O exception
|
||||||
*@todo refactor!!!!!
|
*TODO: refactor!!!!!
|
||||||
*/
|
*/
|
||||||
private void indexDocs() throws IOException {
|
private void indexDocs() throws IOException {
|
||||||
Date start = new Date();
|
Date start = new Date();
|
||||||
|
|
|
@ -83,7 +83,7 @@ public class IndexTaskTest extends TestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The teardown method for JUnit
|
* The teardown method for JUnit
|
||||||
* @todo remove indexDir?
|
* TODO: remove indexDir?
|
||||||
*/
|
*/
|
||||||
public void tearDown() throws IOException {
|
public void tearDown() throws IOException {
|
||||||
searcher.close();
|
searcher.close();
|
||||||
|
|
|
@ -187,7 +187,7 @@ class LuceneMethods {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @todo Allow user to specify what field(s) to display
|
* TODO: Allow user to specify what field(s) to display
|
||||||
*/
|
*/
|
||||||
private void printHit(Document doc) {
|
private void printHit(Document doc) {
|
||||||
for (int ii = 0; ii < fieldsArray.length; ii++) {
|
for (int ii = 0; ii < fieldsArray.length; ii++) {
|
||||||
|
@ -234,7 +234,7 @@ class LuceneMethods {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @todo Allow user to specify analyzer
|
* TODO: Allow user to specify analyzer
|
||||||
*/
|
*/
|
||||||
private Hits initSearch(String queryString) throws IOException, ParseException {
|
private Hits initSearch(String queryString) throws IOException, ParseException {
|
||||||
|
|
||||||
|
|
|
@ -151,7 +151,7 @@ public class ParallelMultiSearcher extends MultiSearcher {
|
||||||
* @param filter if non-null, a bitset used to eliminate some documents
|
* @param filter if non-null, a bitset used to eliminate some documents
|
||||||
* @param collector to receive hits
|
* @param collector to receive hits
|
||||||
*
|
*
|
||||||
* @todo parallelize this one too
|
* TODO: parallelize this one too
|
||||||
*/
|
*/
|
||||||
public void search(Weight weight, Filter filter, final Collector collector)
|
public void search(Weight weight, Filter filter, final Collector collector)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
|
|
|
@ -92,7 +92,7 @@ class ReqOptSumScorer extends Scorer {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Explain the score of a document.
|
/** Explain the score of a document.
|
||||||
* @todo Also show the total score.
|
* TODO: Also show the total score.
|
||||||
* See BooleanScorer.explain() on how to do this.
|
* See BooleanScorer.explain() on how to do this.
|
||||||
*/
|
*/
|
||||||
public Explanation explain(int doc) throws IOException {
|
public Explanation explain(int doc) throws IOException {
|
||||||
|
|
Loading…
Reference in New Issue