Package | Description |
---|---|
org.apache.solr.response.transform |
APIs and implementations of
DocTransformer for modifying documents in Solr request responses
|
org.apache.solr.search |
APIs and classes for parsing and processing search requests
|
Modifier and Type | Field and Description |
---|---|
DocIterator |
TransformContext.iterator |
Modifier and Type | Method and Description |
---|---|
DocIterator |
DocList.iterator()
Returns an iterator that may be used to iterate over the documents in this DocList
The order of the documents returned by this iterator is based on the
Sort order of the search that produced it.
|
DocIterator |
HashDocSet.iterator() |
DocIterator |
BitDocSet.iterator()
DocIterator using nextSetBit()
public DocIterator iterator() {
return new DocIterator() {
int pos=bits.nextSetBit(0);
public boolean hasNext() {
return pos>=0;
}
public Integer next() {
return nextDoc();
}
public void remove() {
bits.clear(pos);
}
public int nextDoc() {
int old=pos;
pos=bits.nextSetBit(old+1);
return old;
}
public float score() {
return 0.0f;
}
};
}
|
DocIterator |
DocSlice.iterator() |
DocIterator |
SortedIntDocSet.iterator() |
DocIterator |
DocSet.iterator()
Returns an iterator that may be used to iterate over all of the documents in the set.
|
Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.