Solr
  1. Solr
  2. SOLR-456

Ability to choose another analyzer for field

    Details

    • Type: Wish Wish
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • 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

        Issue Links

          Activity

          Sergey Dryganets created issue -
          Sergey Dryganets made changes -
          Field Original Value New Value
          Summary Ability to choose another analizer for field Ability to choose another analyzer for field
          Sergey Dryganets made changes -
          Attachment OverrideFieldAnalyzer.patch [ 12373498 ]
          Chris Harris made changes -
          Link This issue is related to SOLR-1910 [ SOLR-1910 ]
          Erick Erickson made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Won't Fix [ 2 ]
          Erick Erickson made changes -
          Resolution Won't Fix [ 2 ]
          Status Resolved [ 5 ] Reopened [ 4 ]

            People

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

              Dates

              • Created:
                Updated:

                Development