In which order does OOB search component fetches the result?? like last modified or ascending order or descending or page creation date ?? I am so confused. :(
Solved! Go to Solution.
Views
Replies
Total Likes
The above documentation is relevant for OOB search component as it uses GQL full text query language for querying the Lucene indexes - https://jackrabbit.apache.org/api/1.5/org/apache/jackrabbit/commons/query/GQL.html
Views
Replies
Total Likes
The search results are ordered by the pseudo property "jcr:score" which is calculated by Lucene. Whenever you do full text search, the results returned are scored according to their relevancy and all of it is done by Lucene under the hood. You can boost (impact the ranking) the ranking of the nodes in the search results by configuring the Lucene index definitions with boost property.
Check the following documentation -
https://jackrabbit.apache.org/oak/docs/query/lucene.html#boost
Views
Replies
Total Likes
lokesh waran wrote...
In which order does OOB search component fetches the result?? like last modified or ascending order or descending or page creation date ?? I am so confused. :(
I believe OOTB orders by best match, which is determined by the Lucene Index.
Views
Replies
Total Likes
I believe OOB search component does not use AEM query builder. Correct me if I am wrong. So the above mentioned documentation works only with query builder and not search component.
Views
Replies
Total Likes
The above documentation is relevant for OOB search component as it uses GQL full text query language for querying the Lucene indexes - https://jackrabbit.apache.org/api/1.5/org/apache/jackrabbit/commons/query/GQL.html
Views
Replies
Total Likes