com.atlassian.confluence.search.v2.lucene.mapper
Class NoOpSortMapper

java.lang.Object
  extended by com.atlassian.confluence.search.v2.lucene.mapper.NoOpSortMapper
All Implemented Interfaces:
LuceneSortMapper

public class NoOpSortMapper
extends Object
implements LuceneSortMapper

Sort mapper that returns nothing, defaulting to the index's native sort (which in Lucene's case is by descending order of relevance)


Constructor Summary
NoOpSortMapper()
           
 
Method Summary
 org.apache.lucene.search.Sort convertToLuceneSort(SearchSort searchSort)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoOpSortMapper

public NoOpSortMapper()
Method Detail

convertToLuceneSort

public org.apache.lucene.search.Sort convertToLuceneSort(SearchSort searchSort)
Specified by:
convertToLuceneSort in interface LuceneSortMapper


Copyright © 2003–2015 Atlassian. All rights reserved.