org.apache.solr.hadoop.dedup
Class SolrInputDocumentComparator
java.lang.Object
org.apache.solr.hadoop.dedup.SolrInputDocumentComparator
- All Implemented Interfaces:
- Comparator<SolrInputDocument>
public final class SolrInputDocumentComparator
- extends Object
- implements Comparator<SolrInputDocument>
Default mechanism of determining which of two Solr documents with the same
key is the more recent version.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
compare
public int compare(SolrInputDocument doc1,
SolrInputDocument doc2)
- Specified by:
compare in interface Comparator<SolrInputDocument>
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.