lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: Question on ElisionFilter with d'
Date Thu, 26 Jul 2012 13:55:51 GMT
On Thu, Jul 26, 2012 at 4:10 AM, yamo93 <yamo93@gmail.com> wrote:
> A possible workaround would be to call this constructor
> ElisionFilter(Version matchVersion, TokenStream input, Set<?> articles).
>

Thats the way, just supply the list you want.

> But i don't understand why this "d" and "c" are not present in default
> articles.
>

Its just historically that was the default list in the file.
This list should really be removed, and moved to FrenchAnalyzer, as
this filter is not only used for french:
https://issues.apache.org/jira/browse/LUCENE-3884

-- 
lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message