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 java.lang.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)
                                                  throws InvalidSortException
Specified by:
convertToLuceneSort in interface LuceneSortMapper
Throws:
InvalidSortException


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.