Hi,

It's unlikely that one would sort with a multi-valued property, but I
guess it's possible. Couldn't you index on all values?

Some strange behavior could occur. If we have two nodes:

/a {v: [1, 10]}
/b {v: 5}

Then XPath "order by v" would return /a first (because of v=1), and then
/b. And "order by v descending" would _also_ return /a first (because of
v=10), and then /b.

Regards,
Thomas

On 15/10/14 12:50, "Chetan Mehrotra" <[email protected]> wrote:

>Hi,
>
>Is sorting possible on an array property? For now in Lucene I am
>restricting sorting for non array property only so need to check if
>that restriction is fine
>
>Chetan Mehrotra

Reply via email to