コード例 #1
0
 public override int Advance(int target)
 {
     throw UnsupportedOperationException.Create("FakeScorer doesn't support Advance(int)");
 }
コード例 #2
0
 /// <summary>
 /// this enum does not support seeking! </summary>
 /// <exception cref="NotSupportedException"> In general, subclasses do not
 ///         support seeking. </exception>
 public override void SeekExact(BytesRef term, TermState state)
 {
     throw UnsupportedOperationException.Create(this.GetType().Name + " does not support seeking");
 }
コード例 #3
0
 public override Explanation Explain(AtomicReaderContext reader, int doc)
 {
     // TODO
     throw UnsupportedOperationException.Create(GetType().Name + " cannot explain match on parent document");
 }
コード例 #4
0
 public override DocsAndPositionsEnum DocsAndPositions(IBits liveDocs, DocsAndPositionsEnum reuse, DocsAndPositionsFlags flags)
 {
     throw UnsupportedOperationException.Create();
 }
コード例 #5
0
 /// <summary>
 /// this enum does not support seeking! </summary>
 /// <exception cref="NotSupportedException"> In general, subclasses do not
 ///         support seeking. </exception>
 public override SeekStatus SeekCeil(BytesRef term)
 {
     throw UnsupportedOperationException.Create(this.GetType().Name + " does not support seeking");
 }
コード例 #6
0
 public override int CompareTop(int doc)
 {
     throw UnsupportedOperationException.Create();
 }
コード例 #7
0
 public override void CopyFrom(TermState other)
 {
     throw UnsupportedOperationException.Create();
 }
コード例 #8
0
 public override int Read(char[] arg0, int arg1, int arg2)
 {
     throw UnsupportedOperationException.Create("Read(char[], int, int)");
 }
コード例 #9
0
 public override void Mark(int readAheadLimit)
 {
     throw UnsupportedOperationException.Create("Mark(int)");
 }
コード例 #10
0
 protected override int Correct(int currentOff)
 {
     throw UnsupportedOperationException.Create("Correct(int)");
 }
コード例 #11
0
 protected override void Dispose(bool disposing)
 {
     throw UnsupportedOperationException.Create("Close()");
 }
コード例 #12
0
 public override long Skip(int n)
 {
     throw UnsupportedOperationException.Create("Skip(long)");
 }
コード例 #13
0
 public override ICollection <ChildScorer> GetChildren()
 {
     throw UnsupportedOperationException.Create();
 }
コード例 #14
0
 public override int NextDoc()
 {
     throw UnsupportedOperationException.Create("FakeScorer doesn't support NextDoc()");
 }
コード例 #15
0
 public override void AddSortedField(FieldInfo field, IEnumerable <BytesRef> values, IEnumerable <long?> docToOrd)
 {
     throw UnsupportedOperationException.Create();
 }
コード例 #16
0
 public override int Read()
 {
     throw UnsupportedOperationException.Create("Read()");
 }
コード例 #17
0
 public override void SetTopValue(J2N.Numerics.Int32 value)
 {
     throw UnsupportedOperationException.Create();
 }
コード例 #18
0
 public override void Reset()
 {
     throw UnsupportedOperationException.Create("Reset()");
 }
コード例 #19
0
 public override long Seek(long ord)
 {
     throw UnsupportedOperationException.Create();
 }
コード例 #20
0
 public override int NextDoc()
 {
     throw UnsupportedOperationException.Create();
 }
コード例 #21
0
 public override void AddSortedSetField(FieldInfo field, IEnumerable <BytesRef> values, IEnumerable <long?> docToOrdCount, IEnumerable <long?> ords)
 {
     throw UnsupportedOperationException.Create("Lucene 4.0 does not support SortedSet docvalues");
 }
コード例 #22
0
 public override int Advance(int target)
 {
     throw UnsupportedOperationException.Create();
 }
コード例 #23
0
 public override void SeekExact(long ord)
 {
     throw UnsupportedOperationException.Create();
 }
コード例 #24
0
 public override float GetSpecificValue(string dim, params string[] path)
 {
     // TODO: should we impl this?
     throw UnsupportedOperationException.Create();
 }
コード例 #25
0
 /// <summary>
 /// this enum does not support seeking! </summary>
 /// <exception cref="NotSupportedException"> In general, subclasses do not
 ///         support seeking. </exception>
 public override void SeekExact(long ord)
 {
     throw UnsupportedOperationException.Create(this.GetType().Name + " does not support seeking");
 }
コード例 #26
0
 public override DocValuesConsumer NormsConsumer(SegmentWriteState state)
 {
     throw UnsupportedOperationException.Create("this codec can only be used for reading");
 }
コード例 #27
0
ファイル: SegmentTermPositions.cs プロジェクト: YAFNET/YAFNET
 public sealed override int Read(int[] docs, int[] freqs)
 {
     throw UnsupportedOperationException.Create("TermPositions does not support processing multiple documents in one call. Use TermDocs instead.");
 }
コード例 #28
0
 public override void AddBinaryField(FieldInfo field, IEnumerable <BytesRef> values)
 {
     throw UnsupportedOperationException.Create();
 }
コード例 #29
0
 public void Reset()
 {
     throw UnsupportedOperationException.Create();
 }
コード例 #30
0
 public override void Delete()
 {
     throw UnsupportedOperationException.Create("this IndexCommit does not support deletions");
 }