Description
Similar to planned support for spell check OAK-2175 we need to provide support for suggestor via the Query engine. It should be possible to various parameters as supported by Lucene suggestor impl [1]
SELECT rep:suggest() FROM nt:base WHERE jcr:path = '/' AND SUGGEST('fox is')
Such an approach should allow
- Selecting the right suggestor index via path
- Ability to pass parameter like number of suggestions required, context etc
- search phrase
- Set of contexts - contexts to filter the lookup by
- onlyMorePopular - return only more popular results
- num - maximum number of results to return
Attachments
Attachments
Issue Links
- is related to
-
OAK-2175 Support for rep:spellcheck
- Closed