Mohit Kataria created OAK-11693:
-----------------------------------

             Summary: 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


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)

Reply via email to