Uploaded image for project: 'Jira Server and Data Center'
  1. Jira Server and Data Center
  2. JRASERVER-13672

Better searching when stemming is in place. Improve Lucene QueryParser to perform analysis on prefixed queries.

    XMLWordPrintable

    Details

    • Feedback Policy:
      We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Description

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      Currently the default using of "Porter" stemming means that certain search phrases do not return results that the user might expect.

      For example if the issue summary is "Moose problems" then the default stemming will cause "moos" to be stored in the index.

      If the user then enters a search request for "Moose" then no match will be made. The reason is that the Lucene QueryParser code does NOT perform analysis on "Prefix" queries by default.

      Hence a PrefixQuery for the term "moose" is submitted and the index doent contain this terms and hence no issue is returned.

      The improvement would be to tweak QueryParser so that it does perform "analysis" on prefix queries. So the term "moose" would be stemmed to "moos" and then the Prefix Query would return the expected results.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              bbaker ɹǝʞɐq pɐɹq
              Votes:
              6 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: