활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
Hi All,
We have a query like this:
path=/content/we-retail
type=cq:Page
fulltext=Men
p.limit=-1
Is there any default algorithm for sorting the results when no orderby is specified.
From the output results we are not able to find any sort criteria.
Any help is appreciated.
Thanks
해결되었습니다! 솔루션으로 이동.
조회 수
답글
좋아요 수
As far as I know, orderby parameter is specified in full-text search query, which means the order in which the search results are returned is not guaranteed to be consistent or predictable.
It may We can see the same results every time because the AEM search engine is returning the results in the same order each time, based on some internal mechanism by this is not reliable. If we need to ensure a specific order of search results, we should always specify an orderby parameter in query.
I never found any article or documentation that says about the default orderby. It could be my limitation.
hi @Sb2512 ,
The index of returned result of the query will differ from instance to instance as it is based on Lucene scores.
Also refer post for reference.
Best Regards,
Milind
조회 수
Likes
답글