[
https://issues.apache.org/jira/browse/OAK-11693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17950529#comment-17950529
]
Mohit Kataria commented on OAK-11693:
-------------------------------------
This change was committed along with OAK-11692
PR:
[https://github.com/apache/jackrabbit-oak/pull/2269]
[https://github.com/apache/jackrabbit-oak/pull/2287]
> Parse inference query and extract out inference config and text query
> -----------------------------------------------------------------------
>
> Key: OAK-11693
> URL: https://issues.apache.org/jira/browse/OAK-11693
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Reporter: Mohit Kataria
> Assignee: Mohit Kataria
> Priority: Major
>
> To enable inference we need to use following query format.
>
> {code:java}
> <inferenceQueryPrefix> <Json with inferencequery related
> information><inferenceQueryPrefix><text query>
> {code}
> e.g.
>
> {code:java}
> ?{"inferenceConfig": <name of index config>}?little red fox
> {code}
> example of fulltext query.
> {code:java}
> select * from [nt:base] where contains (*, '?{"inferenceConfig": <name of
> index config>}?little red fox'){code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)