lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] Created: (SOLR-1938) make ElisionFilterFactory user-friendly
Date Thu, 03 Jun 2010 03:49:57 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message