public class DocsStreamer extends Object implements Iterator<SolrDocument>
Constructor and Description |
---|
DocsStreamer(DocList docList,
Query query,
SolrQueryRequest req,
ReturnFields returnFields) |
Modifier and Type | Method and Description |
---|---|
int |
currentIndex() |
static SolrDocument |
getDoc(Document doc,
IndexSchema schema) |
static Object |
getValue(SchemaField sf,
IndexableField f) |
boolean |
hasNext() |
boolean |
hasScores() |
SolrDocument |
next() |
void |
remove() |
public DocsStreamer(DocList docList, Query query, SolrQueryRequest req, ReturnFields returnFields)
public boolean hasScores()
public int currentIndex()
public boolean hasNext()
hasNext
in interface Iterator<SolrDocument>
public SolrDocument next()
next
in interface Iterator<SolrDocument>
public static SolrDocument getDoc(Document doc, IndexSchema schema)
public void remove()
remove
in interface Iterator<SolrDocument>
public static Object getValue(SchemaField sf, IndexableField f)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.