mirror of https://github.com/apache/lucene.git
merge r1237083
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237129 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
commit
0e570cd5a2
|
@ -30,8 +30,6 @@ import org.apache.lucene.store.Directory;
|
|||
*/
|
||||
public abstract class NormsFormat {
|
||||
public abstract PerDocConsumer docsConsumer(PerDocWriteState state) throws IOException;
|
||||
@Deprecated
|
||||
public abstract PerDocProducer docsProducer(SegmentReadState state, Directory separateNormsDir) throws IOException;
|
||||
public abstract PerDocProducer docsProducer(SegmentReadState state) throws IOException;
|
||||
public abstract void files(Directory dir, SegmentInfo info, Set<String> files) throws IOException;
|
||||
|
||||
|
@ -41,4 +39,13 @@ public abstract class NormsFormat {
|
|||
*/
|
||||
@Deprecated
|
||||
public void separateFiles(Directory dir, SegmentInfo info, Set<String> files) throws IOException {};
|
||||
|
||||
/**
|
||||
* Note: this should not be overridden!
|
||||
* @deprecated
|
||||
*/
|
||||
@Deprecated
|
||||
public PerDocProducer docsProducer(SegmentReadState state, Directory separateNormsDir) throws IOException {
|
||||
return docsProducer(state);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -55,13 +55,6 @@ public class Lucene40NormsFormat extends NormsFormat {
|
|||
Lucene40NormsDocValuesConsumer.files(dir, info, files);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public PerDocProducer docsProducer(SegmentReadState state,
|
||||
Directory separateNormsDir) throws IOException {
|
||||
return docsProducer(state);
|
||||
}
|
||||
|
||||
|
||||
public static class Lucene40NormsDocValuesProducer extends Lucene40DocValuesProducer {
|
||||
|
||||
|
|
|
@ -51,12 +51,5 @@ public class SimpleTextNormsFormat extends NormsFormat {
|
|||
throws IOException {
|
||||
SimpleTextNormsConsumer.files(dir, info, files);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public PerDocProducer docsProducer(SegmentReadState state,
|
||||
Directory separateNormsDir) throws IOException {
|
||||
return docsProducer(state);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue