![]() |
Page History
Scrollbar | ||
---|---|---|
|
Panel | ||
---|---|---|
| ||
Author: Craig Stancl, Scott Bauer, Cory Endle |
Panel | ||
---|---|---|
| ||
|
...
The Collector interface replaces HitCollector in Lucene 5.0. Given that much of the current HitCollector implementation is tied to the boundary doc implementation and the single index requirement to filter for a given coding scheme, custom HitCollectors or Collectors may no longer be necessary using a standard implementation of TopScoreDocsCollector. We show a provisional implementation of Simple Search Extension here, which may be required if we cannot get the global searches of all Common Indexes to run quickly enough. This will require implementation of a new Filter/Collector or Facet combination to sort out the portion of the indexes pertaining to a given coding scheme.
Code Block | ||||
---|---|---|---|---|
| ||||
//These classes appear to be on the main code path and will have to be adapted if we can't replace them
//with TopScoreDocsCollector
edu.mayo.informatics.indexer.lucene.hitcollector.AbstractBestScoreOfEntityHitCollector.java
edu.mayo.informatics.indexer.lucene.hitcollector.BestScoreOfEntityHitCollector.java
//These BitSet using classes appear to dead end without being used by the API
//They seem most likely to go away.
edu.mayo.informatics.indexer.lucene.hitcollector.BitSetBestScoreOfEntityHitCollector.java
edu.mayo.informatics.indexer.lucene.hitcollector.BitSetFilteringBestScoreOfEntityHitCollector
//This is not expected to be needed in the multi coding scheme implementation.
edu.mayo.informatics.indexer.lucene.hitcollector.HitCollectorMerger |