Solr
  1. Solr
  2. SOLR-937

Highlighting problem related to stemming

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3
    • Fix Version/s: None
    • Component/s: highlighter
    • Labels:
      None

      Description

      Using the example data (as in "ant run-example") from the latest dev version, add the words "electronics" and "connector" to the features field of the first doc in ipod_other.xml. Now the following query:

      http://localhost:8983/solr/select/?q=electronics&hl=true&hl.fl=features+cat

      will show "electronics" highlighted in the features field but not in the cat field. If you search instead for "connector", it is highlighted in both.

      This seems like a bug to me. A possible but not entirely satisfactory work-around would be to have the cat field copied into another field which is stemmed, and use that other field for highlighting (assuming the search is on the default search field, and not on cat).

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              David Bowen
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:

                Development