[
https://issues.apache.org/jira/browse/OAK-7365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tommaso Teofili resolved OAK-7365.
----------------------------------
Resolution: Fixed
fixed in r1831180.
> 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
> Assignee: Tommaso Teofili
> Priority: Major
> Fix For: 1.9.1
>
>
> 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)