[ 
https://issues.apache.org/jira/browse/SOLR-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12756953#action_12756953
 ] 

Robert Muir commented on SOLR-1445:
-----------------------------------

this test will pass if you apply LUCENE-1919

the problem is not with solr synonyms, it is more general and is a bug where 
tokenstream.next() will overwrite the contents of a previous call to 
tokenstream.next(token)

> Leading term in a multi-word synonym replaced with the token that follows it
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-1445
>                 URL: https://issues.apache.org/jira/browse/SOLR-1445
>             Project: Solr
>          Issue Type: Bug
>          Components: Analysis
>    Affects Versions: 1.4
>         Environment: Solr 1.4 nightly (09/14/2009)
>            Reporter: Gregg Donovan
>         Attachments: TestMultiWordSynonmys.java
>
>
> I'm running into an odd issue with multi-word synonyms. Things generally seem 
> to work as expected, but I sometimes see words that are the leading term in a 
> multi-word synonym being replaced with the token that follows them in the 
> stream when they should just be ignored (i.e. there's no synonym match for 
> just that token). When I preview the analysis at admin/analysis.jsp it looks 
> fine, but at runtime I see problems like the one in the attached unit test.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to