mirror of https://github.com/apache/lucene.git
fixed wrong self assignments for 'docBase' in Collector subclasses introduced in rev. 1058019
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1058076 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e79fcaec7c
commit
76c3de6ece
|
@ -124,7 +124,7 @@ public class TestFieldNormModifier extends LuceneTestCase {
|
|||
}
|
||||
@Override
|
||||
public void setNextReader(AtomicReaderContext context) {
|
||||
this.docBase = docBase;
|
||||
docBase = context.docBase;
|
||||
}
|
||||
@Override
|
||||
public void setScorer(Scorer scorer) throws IOException {
|
||||
|
@ -159,7 +159,7 @@ public class TestFieldNormModifier extends LuceneTestCase {
|
|||
}
|
||||
@Override
|
||||
public void setNextReader(AtomicReaderContext context) {
|
||||
this.docBase = docBase;
|
||||
docBase = context.docBase;
|
||||
}
|
||||
@Override
|
||||
public void setScorer(Scorer scorer) throws IOException {
|
||||
|
@ -211,7 +211,7 @@ public class TestFieldNormModifier extends LuceneTestCase {
|
|||
}
|
||||
@Override
|
||||
public void setNextReader(AtomicReaderContext context) {
|
||||
this.docBase = docBase;
|
||||
docBase = context.docBase;
|
||||
}
|
||||
@Override
|
||||
public void setScorer(Scorer scorer) throws IOException {
|
||||
|
|
|
@ -141,7 +141,7 @@ public class TestLengthNormModifier extends LuceneTestCase {
|
|||
}
|
||||
@Override
|
||||
public void setNextReader(AtomicReaderContext context) {
|
||||
this.docBase = docBase;
|
||||
docBase = context.docBase;
|
||||
}
|
||||
@Override
|
||||
public void setScorer(Scorer scorer) throws IOException {
|
||||
|
@ -183,7 +183,7 @@ public class TestLengthNormModifier extends LuceneTestCase {
|
|||
}
|
||||
@Override
|
||||
public void setNextReader(AtomicReaderContext context) {
|
||||
this.docBase = docBase;
|
||||
docBase = context.docBase;
|
||||
}
|
||||
@Override
|
||||
public void setScorer(Scorer scorer) throws IOException {
|
||||
|
|
|
@ -78,7 +78,7 @@ public class BooleanQueryTst {
|
|||
|
||||
@Override
|
||||
public void setNextReader(AtomicReaderContext context) throws IOException {
|
||||
this.docBase = docBase;
|
||||
docBase = context.docBase;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -448,7 +448,7 @@ public abstract class TopFieldCollector extends TopDocsCollector<Entry> {
|
|||
|
||||
@Override
|
||||
public void setNextReader(AtomicReaderContext context) throws IOException {
|
||||
this.docBase = context.docBase;
|
||||
docBase = context.docBase;
|
||||
for (int i = 0; i < comparators.length; i++) {
|
||||
queue.setComparator(i, comparators[i].setNextReader(context));
|
||||
}
|
||||
|
|
|
@ -416,7 +416,7 @@ public class TestOmitTf extends LuceneTestCase {
|
|||
|
||||
@Override
|
||||
public void setNextReader(AtomicReaderContext context) {
|
||||
this.docBase = docBase;
|
||||
docBase = context.docBase;
|
||||
}
|
||||
@Override
|
||||
public boolean acceptsDocsOutOfOrder() {
|
||||
|
|
|
@ -129,7 +129,7 @@ public class TestSubScorerFreqs extends LuceneTestCase {
|
|||
@Override
|
||||
public void setNextReader(AtomicReaderContext context)
|
||||
throws IOException {
|
||||
this.docBase = docBase;
|
||||
docBase = context.docBase;
|
||||
other.setNextReader(context);
|
||||
}
|
||||
|
||||
|
|
|
@ -167,8 +167,8 @@ public abstract class UpdateHandler implements SolrInfoMBean {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void setNextReader(AtomicReaderContext arg0) throws IOException {
|
||||
this.docBase = docBase;
|
||||
public void setNextReader(AtomicReaderContext context) throws IOException {
|
||||
docBase = context.docBase;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue