public class ScriptSortParser extends Object implements SortParser
Constructor and Description |
---|
ScriptSortParser() |
Modifier and Type | Method and Description |
---|---|
String[] |
names() |
org.apache.lucene.search.SortField |
parse(XContentParser parser,
SearchContext context) |
public String[] names()
names
in interface SortParser
public org.apache.lucene.search.SortField parse(XContentParser parser, SearchContext context) throws Exception
parse
in interface SortParser
Exception
Copyright © 2009–2016. All rights reserved.