Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1159

jena-text language restriction for Italian or Norwegian has no effect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 3.0.1
    • Jena 3.1.0
    • Text
    • None

    Description

      jena-text allows for limiting by language, e.g.

      ?s text:query ('text' 'lang:en')

      For some reason this doesn't work for Italian. The following query does not actually restrict by language but instead returns results for any language:

      ?s text:query ('text' 'lang:it')

      I suspect that the language code it is being handled as a stop word by Lucene. It also seems to happen with no, the inclusive language code for Norwegian.

      I've already created a failing jena-text unit test and will investigate further.

      Attachments

        Activity

          People

            osma Osma Suominen
            osma Osma Suominen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: