lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DM Smith (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1350) SnowballFilter resets the payload
Date Tue, 05 Aug 2008 18:18:44 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-1350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619982#action_12619982
] 

DM Smith commented on LUCENE-1350:
----------------------------------

Survey of other potential problem areas (I did not look at test cases):
o.a.l.index.memory.SynonymTokenFilter (generated synonyms do not propagate payload or flags)
o.a.l.analysis.de.GermanStemFilter (creates a replacement token and does not propagate payload
or flags)
o.a.l.analysis.ngram.EdgeNGramTokenFilter (generated ngrams do not propagate payload or flags;
positionIncrement is inappropriate)
o.a.l.analysis.ngram.NGramTokenFilter (generated ngrams do not propagate payload or flags;
positionIncrement is inappropriate)
o.a.l.analysis.br.BrazilianStemFilter (creates a replacement token and does not propagate
payload or flags)
o.a.l.analysis.fr.ElisionFilter (creates a replacement token and does not propagate payload
or flags)
o.a.l.analysis.fr.FrenchStemFilter (creates a replacement token and does not propagate payload
or flags)
o.a.l.analysis.shingle.ShingleFilter (generated shingles do not propagate payload or flags)
o.a.l.analysis.ru.RussianLowerCaseFilter (creates a replacement token and does not propagate
payload or flags)
o.a.l.analysis.ru.RussianStemFilter (creates a replacement token and does not propagate payload
or flags)
o.a.l.analysis.el.GreekLowerCaseFilter (creates a replacement token and does not propagate
payload or flags)
o.a.l.analysis.compound.CompoundWordTokenFilterBase  (generated parts do not propagate payload
or flags)
o.a.l.analysis.th.ThaiWordFilter (creates a replacement for non-Thai words; generated parts
do not propagate payload or flags)
o.a.l.analysis.nl.DutchStemFilter (creates a replacement token and does not propagate payload
or flags)

> SnowballFilter resets the payload
> ---------------------------------
>
>                 Key: LUCENE-1350
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1350
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Analysis, contrib/*
>            Reporter: Doron Cohen
>            Assignee: Doron Cohen
>         Attachments: LUCENE-1350.patch
>
>
> Passing tokens with payloads through SnowballFilter results in tokens with no payloads.
> A workaround for this is to apply stemming first and only then run whatever logic creates
the payload, but this is not always convenient.
> Patch to follow that preserves the payload.

-- 
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message