[
https://issues.apache.org/jira/browse/LUCENE-5012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Weber updated LUCENE-5012:
-------------------------------
Attachment: LUCENE-5012.patch
Patch for current master.
{{testSynAfterDecompoundStageAnalyzer}} and {{testSynStageAnalyzer}} randomly
fail so will need to dig into this when I find some more time.
[~mikemccand] Can you take a look and make sure I didn't miss anything from the
original? The attached patch wasn't up to date since you were working from a
branch. Here is what I ran to get the latest:
{code}
svn diff --ignore-properties --old
https://svn.apache.org/repos/asf/lucene/dev/trunk@1597052 --new
https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5012@1694511 >
LUCENE-5012.patch
{code}
> Make graph-based TokenFilters easier
> ------------------------------------
>
> Key: LUCENE-5012
> URL: https://issues.apache.org/jira/browse/LUCENE-5012
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/analysis
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Attachments: LUCENE-5012.patch, LUCENE-5012.patch
>
>
> SynonymFilter has two limitations today:
> * It cannot create positions, so eg dns -> domain name service
> creates blatantly wrong highlights (SOLR-3390, LUCENE-4499 and
> others).
> * It cannot consume a graph, so e.g. if you try to apply synonyms
> after Kuromoji tokenizer I'm not sure what will happen.
> I've thought about how to fix these issues but it's really quite
> difficult with the current PosInc/PosLen graph representation, so I'd
> like to explore an alternative approach.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]