예제 #1
0
 @Override
 public void copyFrom(TermState _other) {
   assert _other instanceof BlockTermState : "can not copy from " + _other.getClass().getName();
   BlockTermState other = (BlockTermState) _other;
   super.copyFrom(_other);
   docFreq = other.docFreq;
   totalTermFreq = other.totalTermFreq;
   termBlockOrd = other.termBlockOrd;
   blockFilePointer = other.blockFilePointer;
   isRealTerm = other.isRealTerm;
 }
예제 #2
0
 @Override
 public TermState termState() throws IOException {
   OrdTermState ts = new OrdTermState();
   ts.ord = termUpto;
   return ts;
 }