DESCRIPTION

JCBC-1024: Add "sort" option to FTS query.

Motivation
----------
Couchbase Server 4.6 introduces the possibility to
apply a custom sorting order (not only on the score in
descending order), the Java SDK needs to expose this
option as well.

Modifications
-------------
A "sort" option is provided which allows the user to specify
an array of sort fields, including the special ones like
"_score" and "_id" as well as using a "-" prefix for descending
order.

Result
------
FTS compatibility for Server 4.6 which allows the user to specify
a custom sort order.

Change-Id: Icbb12bed5cb808b80398da23f8b8735df2c97820


COMMENTS

author: Natasha Sullivan
date: 2016-11-21 10:46:51.277000000

Uploaded patch set 1.

-------------------------------------
author: Natasha Sullivan
date: 2016-11-21 10:57:48.384000000

Patch Set 1: Verified+1

-------------------------------------
author: Marques Ellis
date: 2016-11-28 18:24:33.536000000

Patch Set 1: Code-Review+2

-------------------------------------
author: Tate Garrett
date: 2016-11-30 18:10:54.433000000

Change has been successfully cherry-picked as cb29b0125ef7b8d76129c01ceafda35d024dc102 by Natasha Sullivan

-------------------------------------
