Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2484

Make SynonymFilterFactory more extendable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 3.2, 4.0-ALPHA
    • None
    • None

    Description

      As is, reading rules from the ResourceLoader is baked into inform(ResourceLoader loader). It would be nice to be able to load custom rules w/o needing to rewrite the whole thing. This issue changes two things:

      1. Changes List<String> to Iterable<String> because we don't really need a list
      2. adds protected Iterable<String> loadRules( String synonyms, ResourceLoader loader ) – so subclasses could fill their own

      Attachments

        Activity

          People

            ryantxu Ryan McKinley
            ryantxu Ryan McKinley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: