[ https://issues.apache.org/jira/browse/LUCENE-3883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir updated LUCENE-3883: -------------------------------- Attachment: LUCENE-3883.patch updated patch, with a simple solution to the hyphen-phrasequery-problem: I added a special stopset just for these: {code} /** * When StandardTokenizer splits t‑athair into {t, athair}, we don't * want to cause a position increment, otherwise there will be problems * with phrase queries versus tAthair (which would not have a gap). */ private static final CharArraySet HYPHENATIONS = CharArraySet.unmodifiableSet( new CharArraySet(Version.LUCENE_CURRENT, Arrays.asList( "h", "n", "t" ), true)); {code} This is used with enablePositionIncrements=false to ensure no gap is added... I also added a simple test for this. > Analysis for Irish > ------------------ > > Key: LUCENE-3883 > URL: https://issues.apache.org/jira/browse/LUCENE-3883 > Project: Lucene - Java > Issue Type: New Feature > Components: modules/analysis > Reporter: Jim Regan > Priority: Trivial > Labels: analysis, newbie > Attachments: LUCENE-3883.patch, LUCENE-3883.patch, irish.sbl > > > Adds analysis for Irish. > The stemmer is generated from a snowball stemmer. I've sent it to Martin > Porter, who says it will be added during the week. -- 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org