make ElisionFilterFactory user-friendly
---------------------------------------

                 Key: SOLR-1938
                 URL: https://issues.apache.org/jira/browse/SOLR-1938
             Project: Solr
          Issue Type: Improvement
          Components: Schema and Analysis
            Reporter: Robert Muir
            Assignee: Robert Muir
             Fix For: 3.1, 4.0


The ElisionFilterFactory is useful for removing french articles from words 
(e.g. l'avion -> avion, see its tests).

But the factory itself isnt very friendly, you need to provide an actual text 
file listing these, which is sorta overkill
Such a text file would look like:
{noformat}
# below are my articles
l
m
t
...
{noformat}

I propose instead of throwing a RuntimeException if you dont provide the 
articles param, to just use the default set
already in ElisionFilter: (l, m, t, qu, n, s, j)

It wont backwards break anyone as if they weren't providing it, they were 
getting RuntimeException before.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to