Steve Rowe created LUCENE-4729:
----------------------------------

             Summary: Add the ability to benchmark to create per-field 
analyzers, like Lucene's PerFieldAnalyzerWrapper
                 Key: LUCENE-4729
                 URL: https://issues.apache.org/jira/browse/LUCENE-4729
             Project: Lucene - Core
          Issue Type: New Feature
          Components: modules/benchmark
    Affects Versions: 4.2
            Reporter: Steve Rowe
            Assignee: Steve Rowe
            Priority: Minor


{{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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to