Author: rooneg
Date: Mon Feb 28 19:14:18 2005
New Revision: 155746
URL: http://svn.apache.org/viewcvs?view=rev&rev=155746
Log:
Clean up comments.
* src/search/scorer.c
(boolean_scorer_find_doc): remove an out of date comment.
(pick_scorer): note a potential problem.
Modified:
incubator/lucene4c/trunk/src/search/scorer.c
Modified: incubator/lucene4c/trunk/src/search/scorer.c
URL:
http://svn.apache.org/viewcvs/incubator/lucene4c/trunk/src/search/scorer.c?view=diff&r1=155745&r2=155746
==============================================================================
--- incubator/lucene4c/trunk/src/search/scorer.c (original)
+++ incubator/lucene4c/trunk/src/search/scorer.c Mon Feb 28 19:14:18 2005
@@ -117,7 +117,9 @@
}
else if (doc == lowest)
{
- /* move on to avoid duplicates next time around... */
+ /* move on to avoid duplicates next time around...
+ *
+ * XXX couldn't this move us past the last hit? */
LCN_ERR (lcn_scorer_next (scorer));
}
}
@@ -178,9 +180,6 @@
return err;
}
- /* when we add support for should scorers the selection of this
- * scorer becomes more complex, but for now we can just pick an
- * arbitrary must scorer to start with. */
LCN_ERR (pick_scorer (bsb));
*doc = lcn_scorer_doc (bsb->last_scorer);