You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Mohit Kataria (Jira)" <ji...@apache.org> on 2025/05/09 18:58:00 UTC
[jira] [Resolved] (OAK-11693) Parse inference query and extract out inference config and text query
[ https://issues.apache.org/jira/browse/OAK-11693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mohit Kataria resolved OAK-11693.
---------------------------------
Resolution: Fixed
> 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
> Fix For: 1.80.0
>
>
> 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)