Theia-Madalin Vlad created OAK-12549:
----------------------------------------

             Summary: New "semantic" setting for Oak indexes
                 Key: OAK-12549
                 URL: https://issues.apache.org/jira/browse/OAK-12549
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: oak-search
            Reporter: Theia-Madalin Vlad


To use semantic search, currently we need to prefix fulltext queries with 
"?{}?".

This is not really needed. We can add a new flag in the index definition:
    "semantic": "always" / "off" / "default"
 * "default": same as now
 * "always": even if queries don't use ?{}? do the hybrid search. basically, if 
the index is used, add a ?{}? prefix
 * "off": disable (emergency option) - so even if they use ?{}? they only get 
fulltext search



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to