Lucene - Core
  1. Lucene - Core
  2. LUCENE-2510 migrate solr analysis factories to analyzers module
  3. LUCENE-4044

Add NamedSPILoader support to TokenizerFactory, TokenFilterFactory and CharFilterFactory

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-BETA, Trunk
    • Component/s: modules/analysis
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      In LUCENE-2510 I want to move all the analysis factories out of Solr and into the directories with what they create. This is going to hamper Solr's existing strategy for supporting solr.* package names, where it replaces solr with various pre-defined package names. One way to tackle this is to use NamedSPILoader so we simply look up StandardTokenizerFactory for example, and find it wherever it is, as long as it is defined as a service. This is similar to how we support Codecs currently.

      As noted by Robert in LUCENE-2510, this would also have the benefit of meaning configurations could be less verbose, would aid in fully decoupling the analysis module from Solr, and make the analysis factories easier to interact with.

      1. LUCENE-4044-stripped.patch
        66 kB
        Uwe Schindler
      2. LUCENE-4044-4x-stripped.patch
        140 kB
        Uwe Schindler
      3. LUCENE-4044-4x.patch
        1.63 MB
        Uwe Schindler
      4. LUCENE-4044.patch
        13 kB
        Robert Muir
      5. LUCENE-4044.patch
        1.36 MB
        Uwe Schindler

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Uwe Schindler
            Reporter:
            Chris Male
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development