Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-4729

Add the ability to benchmark to create per-field analyzers, like Lucene's PerFieldAnalyzerWrapper

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.2
    • None
    • modules/benchmark
    • None
    • New

    Description

      AnalyzerFactory, added to the benchmark module in LUCENE-4723, is a factory of factories: as part of creating an analyzer, each analysis pipeline component's factory is invoked to create the component instances.

      But unlike in Solr, where all analysis pipelines are explicitly specified per-field, benchmark algorithms have no way to specify per-field analyzers - an analyzer is always applied to all fields.

      I propose a new task PerFieldAnalyzerFactoryTask, which would invoke PerFieldAnalyzerFactory: a factory of factories of factories.

      (I've left "Wrapper" out of the name - it's already verging on overly long, and I don't think the meaning is compromised.)

      I don't have an implementation yet - I wanted to see if people think there's a different/better way to do this.

      Attachments

        Activity

          People

            sarowe Steven Rowe
            sarowe Steven Rowe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: