[ 
https://issues.apache.org/jira/browse/OAK-11721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Mueller updated OAK-11721:
---------------------------------
    Description: 
The default prefix for inference queries should be a prefix that doesn't 
currently work with Lucene fulltext queries. The following prefix would be fine:

{{?{}}

An example of semantic query is:

{{?{}?hello world}}

The {} is a JSON; the prefix ?{ enforces this.

The prefix "?" is not sufficient, as this is already used for regex queries, 
for example "?ello ?world", which returns eg.nodes with "hello world".

  was:
The default prefix for inference queries should be a prefix that doesn't 
currently work with Lucene fulltext queries. The following prefix would be fine:

{{?{}}


> experimental and inferenceConfig implementation should be backward compatible
> -----------------------------------------------------------------------------
>
>                 Key: OAK-11721
>                 URL: https://issues.apache.org/jira/browse/OAK-11721
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Mohit Kataria
>            Assignee: Mohit Kataria
>            Priority: Major
>
> The default prefix for inference queries should be a prefix that doesn't 
> currently work with Lucene fulltext queries. The following prefix would be 
> fine:
> {{?{}}
> An example of semantic query is:
> {{?{}?hello world}}
> The {} is a JSON; the prefix ?{ enforces this.
> The prefix "?" is not sufficient, as this is already used for regex queries, 
> for example "?ello ?world", which returns eg.nodes with "hello world".



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to