Create multi field index

Can I create a multi-field index and specify order asc/desc per segment?
Say lastName, birthdate. With lastName asc and birthdate desc.

(If not, how would I query it to get this result?)



CREATE  INDEX ix1 ON default(lastName ASC, bithdate DESC);

FROM default
WHERE b.lastName > "b"
b.lastName ASC, b.birthdate DESC;

Index key ASC/DESC is mainly if query has order by and follows index order it can avoid sort

One moment. I posted the question in mobile - lite forum.
I think your answer applies only to server.

Oh. I did not see forum topic.

Are you using QueryBuilder or N1QL, and on what platform?