FTS descending sort doesn't work using PHP

Hi All,
I prepared JSON for FTS request to ‘sort’ using descending order on 2 fields: document_date (datetime) document_number (number).

  • document_date (for example) = “2018-05-04”
  • document_number (for example) = 8473

The results that I obtained doesn’t respect the ‘sort’ using descending order: “sort”: ["-document_date", “-document_number”].

I defined for both of them (document_date and document_number) as child field of ‘default’, related to FTS index.

Why?

Thanks in advace for your reply.

Angelo

Hi Angelo, Does this mean that you get the results correctly over the direct curl calls and the issue happens with SDK alone?