[jira] [Created] (LUCENE-3931) Adding "d" character to default ElisionFilter

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (LUCENE-3931) Adding "d" character to default ElisionFilter

Sebastian Nagel (Jira)
Adding "d" character to default ElisionFilter
---------------------------------------------

                 Key: LUCENE-3931
                 URL: https://issues.apache.org/jira/browse/LUCENE-3931
             Project: Lucene - Java
          Issue Type: Improvement
          Components: core/index
            Reporter: David Pilato
            Priority: Trivial


As described in Wikipedia (http://fr.wikipedia.org/wiki/%C3%89lision), the d character is used in french as an elision character.
E.g.: d├ęclaration d'esp├Ęce
So, it would be useful to have it as a default elision token.

{code:title=ElisionFilter.java|borderStyle=solid}
  private static final CharArraySet DEFAULT_ARTICLES = CharArraySet.unmodifiableSet(
      new CharArraySet(Version.LUCENE_CURRENT, Arrays.asList(
          "l", "m", "t", "qu", "n", "s", "j", "d"), true));
{code}

HTH
David.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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