TopDocsCollector is both an abstract interface for producing TopDocs as well as a PriorityQueue based implementation.
Not all Collectors that could produce TopDocs must use a PriorityQueue, and it would be advantageous to allow the TopDocsCollector to be an "interface" type abstract class, with a PQTopDocsCollector sub-class.
While doing this, it'd be good to clean up the generics uses in these classes. As it's odd to create a TopFieldCollector and have to case the TopDocs object, when this can be fixed with generics.
|Field||Original Value||New Value|
|Fix Version/s||3.0.2 [ 12314798 ]|
|Lucene Fields||[New, Patch Available]||[New]|
|Fix Version/s||3.1 [ 12314822 ]|
|Affects Version/s||3.0.2 [ 12314798 ]|
|Lucene Fields||[New]||[New, Patch Available]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Workflow||jira [ 12515945 ]||Default workflow, editable Closed status [ 12564337 ]|
|Workflow||Default workflow, editable Closed status [ 12564337 ]||jira [ 12584867 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|