Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7365

Multi words translated terms should not always use TermQuery

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2
    • Fix Version/s: 1.10.0, 1.9.1
    • Component/s: search-mt
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              teofili Tommaso Teofili
              Reporter:
              teofili Tommaso Teofili
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: