Class FakeDocIterator

  • All Implemented Interfaces:
    Iterator<SolrInputDocument>

    public class FakeDocIterator
    extends Object
    implements Iterator<SolrInputDocument>
    Lightweight generator of fake documents NOTE: this iterator only ever returns the same document N times, which works ok for our "bulk index update" simulation. Obviously don't use this for real indexing.