mirror of https://github.com/apache/lucene.git
clear nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1436459 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f7615e6b35
commit
ab0e1e76e0
|
@ -40,8 +40,7 @@ import org.apache.lucene.util._TestUtil;
|
|||
* Test that norms info is preserved during index life - including
|
||||
* separate norms, addDocument, addIndexes, forceMerge.
|
||||
*/
|
||||
// nocommit put SimpleText back in suppress list:
|
||||
@SuppressCodecs({ "Memory", "Direct" })
|
||||
@SuppressCodecs({ "Memory", "Direct", "SimpleText" })
|
||||
@Slow
|
||||
public class TestNorms extends LuceneTestCase {
|
||||
final String byteTestField = "normsTestByte";
|
||||
|
|
|
@ -254,8 +254,7 @@ public class TestOmitTf extends LuceneTestCase {
|
|||
newIndexWriterConfig(TEST_VERSION_CURRENT, analyzer).
|
||||
setMaxBufferedDocs(2).
|
||||
setSimilarity(new SimpleSimilarity()).
|
||||
setMergePolicy(newLogMergePolicy(2)).
|
||||
setMergeScheduler(new SerialMergeScheduler()) // nocommit
|
||||
setMergePolicy(newLogMergePolicy(2))
|
||||
);
|
||||
|
||||
StringBuilder sb = new StringBuilder(265);
|
||||
|
|
|
@ -162,8 +162,7 @@ public class TestBooleanOr extends LuceneTestCase {
|
|||
|
||||
public void testBooleanScorerMax() throws IOException {
|
||||
Directory dir = newDirectory();
|
||||
// nocommit remove SMS:
|
||||
RandomIndexWriter riw = new RandomIndexWriter(random(), dir, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random())).setMergeScheduler(new SerialMergeScheduler()));
|
||||
RandomIndexWriter riw = new RandomIndexWriter(random(), dir, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random())));
|
||||
|
||||
int docCount = atLeast(10000);
|
||||
|
||||
|
|
|
@ -40,8 +40,6 @@ import org.apache.lucene.util.LuceneTestCase;
|
|||
* In the example, a docvalues field is used as a per-document boost (separate from the norm)
|
||||
* @lucene.experimental
|
||||
*/
|
||||
// nocommit Lucene40 doesn't yet impl SimpleDV:
|
||||
@SuppressCodecs("Lucene40")
|
||||
public class TestDocValuesScoring extends LuceneTestCase {
|
||||
private static final float SCORE_EPSILON = 0.001f; /* for comparing floats */
|
||||
|
||||
|
|
|
@ -74,8 +74,6 @@ import org.junit.BeforeClass;
|
|||
* @since lucene 1.4
|
||||
*/
|
||||
|
||||
// nocommit unsuppress this once Lucene40 impls DV 2.0:
|
||||
@SuppressCodecs({"Lucene40"})
|
||||
public class TestSort extends LuceneTestCase {
|
||||
private static int NUM_STRINGS;
|
||||
private IndexSearcher full;
|
||||
|
@ -200,10 +198,7 @@ public class TestSort extends LuceneTestCase {
|
|||
|
||||
IndexReader reader = writer.getReader();
|
||||
writer.close ();
|
||||
// nocommit back to newSearcher(true)? problem is this
|
||||
// sometimes uses slow reader wrapper which does not
|
||||
// provide DV 2.0
|
||||
IndexSearcher s = newSearcher(reader, false);
|
||||
IndexSearcher s = newSearcher(reader);
|
||||
return s;
|
||||
}
|
||||
|
||||
|
@ -277,10 +272,7 @@ public class TestSort extends LuceneTestCase {
|
|||
//System.out.println(writer.getSegmentCount());
|
||||
writer.close();
|
||||
IndexReader reader = DirectoryReader.open(indexStore);
|
||||
// nocommit back to newSearcher(true)? problem is this
|
||||
// sometimes uses slow reader wrapper which does not
|
||||
// provide DV 2.0
|
||||
IndexSearcher searcher = newSearcher(reader, false);
|
||||
IndexSearcher searcher = newSearcher(reader);
|
||||
|
||||
/*
|
||||
for(int docID=0;docID<reader.maxDoc();docID++) {
|
||||
|
|
Loading…
Reference in New Issue