| java.lang.Object org.apache.solr.search.MissingStringLastComparatorSource
MissingStringLastComparatorSource | class MissingStringLastComparatorSource implements SortComparatorSource(Code) | | A
SortComparatorSource for strings that orders null values after non-null values.
Based on FieldSortedHitQueue.comparatorString
author: Chris Hostetter author: yonik version: $Id: MissingStringLastComparatorSource.java 472574 2006-11-08 18:25:52Z yonik $ |
MissingStringLastComparatorSource | public MissingStringLastComparatorSource()(Code) | | |
MissingStringLastComparatorSource | public MissingStringLastComparatorSource(String missingValueProxy)(Code) | | Creates a
SortComparatorSource that uses missingValueProxy as the value to return from ScoreDocComparator.sortValue()
which is only used my multisearchers to determine how to collate results from their searchers.
Parameters: missingValueProxy - The value returned when sortValue() is called for a document missing the sort field.This value is *not* normally used for sorting, but used to create |
newComparator | public ScoreDocComparator newComparator(IndexReader reader, String fieldname) throws IOException(Code) | | |
|
|