Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-456

Ability to choose another analyzer for field

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.3
    • Fix Version/s: None
    • Component/s: highlighter
    • Labels:
      None

      Description

      To add new search options for example add case-sensitivity and not case-sensitivity search
      we need to index same field twice

      for example create field with 2 search options
      We should create 3 fields
      1. case-sensitive <cs_text> index only field
      not case-sensitive <ncs_text> index only field
      and storage only field <text>

      So to properly highlight search by index we should use analyzer from another field (we send hl.fl =text but search by cs_text or ncs_text)

      It's possible to add parameter to per field override highlighter analyzer?

      ie I want to send parameter
      f.<fieldName>.hl.fieldOverride=<anotherFieldName>

      or for example above:
      f.text.hl.fieldOverride=ncs_text

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                22dsse Sergey Dryganets
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: