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 "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2018/03/21 15:47:00 UTC

[jira] [Created] (OAK-7365) Multi words translated terms should not always use TermQuery

Tommaso Teofili created OAK-7365:
------------------------------------

             Summary: Multi words translated terms should not always use TermQuery
                 Key: OAK-7365
                 URL: https://issues.apache.org/jira/browse/OAK-7365
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: search-mt
    Affects Versions: 1.8.2
            Reporter: Tommaso Teofili
             Fix For: 1.9.0


In {{MTFulltextQueryTermsProvider}} a single to multi word translation can happen (_gracias -> thank you_ and viceversa) however the implementation always uses {{TermQuery}} when building the new query. This might result in unexpected results because while separate terms for each word exist in the index, the usage of a single {{TermQuery}} implies there should be a single term covering both tokens, causing the query to return zero results.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)