org.elasticsearch.search.sort
Class ScriptSortParser

java.lang.Object
  extended by org.elasticsearch.search.sort.ScriptSortParser
All Implemented Interfaces:
SortParser

public class ScriptSortParser
extends Object
implements SortParser


Constructor Summary
ScriptSortParser()
           
 
Method Summary
 String[] names()
           
 org.apache.lucene.search.SortField parse(XContentParser parser, SearchContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptSortParser

public ScriptSortParser()
Method Detail

names

public String[] names()
Specified by:
names in interface SortParser

parse

public org.apache.lucene.search.SortField parse(XContentParser parser,
                                                SearchContext context)
                                         throws Exception
Specified by:
parse in interface SortParser
Throws:
Exception


Copyright © 2009-2012. All Rights Reserved.