Uploaded image for project: 'Hibernate Search'
  1. HSEARCH-2562

Integrators can not use the AnalyzerDiscriminator to override analyzer mapping dynamically

    Details

    • Type: Task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.7.0.Final
    • Component/s: engine
    • Labels:
      None

      Description

      The @AnalyzerDiscriminator annotation only allows binding to a class instance by name, which wouldn't have enough context to be driven dynamically by an integrating framework like Infinispan Query.

      There needs to be an SPI friendly alternative to either plug in a custom discriminator, or otherwise allow to override the field/analyzer mapping at runtime for each indexed entity.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                sanne Sanne Grinovero
                Reporter:
                sanne Sanne Grinovero
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: