It seems it was cause by join between document and it's metadata, I have changed query to search metadata only, and now it works really fast.

Best regards,
Piotr Tajduś


On 07.02.2019 17:38, Piotr Tajduś wrote:
Hi,

I am trying to get last 100 documents found by query using Lucene index. Query with limit works fine until I add "order by [dateProperty] desc". Property is marked as ordered in index, but whole date range in index  is traversed. Is there any way to find last documents without traversing whole range ?


Best regards,

Piotr Tajduś



Reply via email to