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

Multi words translated terms should not always use TermQuery

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.2
    • 1.10.0, 1.9.1
    • search-mt
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: