We have created a custom index with multiple market paths added in "includedPaths" property. When we are using SUGGEST query, we are getting suggestion results only for few markets (though other markets also has the relevant content).
We found that, this is because, index returns only top 10 suggestion results and filters for the subtree query (Jackrabbit Oak – Lucene Index ). Is there any way to change this configuration to get more suggestion results? Is there any configuration for this feature?
Suggest query used:
SELECT [rep:suggest()] as suggestion FROM [cq:Page] as s WHERE (ISDESCENDANTNODE(s,'/content/project/market_1')) AND suggest('ins')
Looks ok in the first place. But Oak 1.4.11 is not a recent version, have you checked the Oak JIRA already? You might want to try this search:
(it checks all versions more recent than 1.4.11). In case you don't find anything which looks relevant, I could ask on the Oak user list. Additionally you might want to raise a Daycare ticket. Also have you tried do to the request using a more recent Oak version (the currently latest version of the 1.4 branch is 1.4.22)?