private void parseSort(XContentParser parser, PercolateContext context) throws Exception {
   sortParseElement.parse(parser, context);
   // null, means default sorting by relevancy
   if (context.sort() == null) {
     context.doSort = true;
   } else {
     throw new ElasticsearchParseException("Only _score desc is supported");
   }
 }