I want to create custom JCR query search for products/pages. In search results, I dont want to display certain pages/products. What is the best way to do it?
Solved! Go to Solution.
Hi,
how are you going to differentiate between what you want to return and what you want to exclude?
If you have a property that identifies a product for exclusion then you can write a custom predicate[1][2]
Regards,
Opkar
[1]https://docs.adobe.com/docs/en/aem/6-1/develop/search/implementing-custom-predicate-evaluator.html
Hi,
how are you going to differentiate between what you want to return and what you want to exclude?
If you have a property that identifies a product for exclusion then you can write a custom predicate[1][2]
Regards,
Opkar
[1]https://docs.adobe.com/docs/en/aem/6-1/develop/search/implementing-custom-predicate-evaluator.html
I want to pass certain page paths that are configured to be excluded. There is no property to identify if that path needs to be excluded. Authors can configure the list of paths that they don't want to see in the search results.
Views
Replies
Total Likes
Views
Likes
Replies