[ 
https://issues.apache.org/jira/browse/SOLR-9157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brandon Bergren updated SOLR-9157:
----------------------------------
    Flags: Patch

I did the change in ManagedSynonymParser.parse() to do something similar to 
what SynonymFilterFactory.loadSynonyms() does. I left out the bit where it does 
unescaping, since I assume the JSON processing is already handling that.


> Multiple-word terms not working with managed synonyms
> -----------------------------------------------------
>
>                 Key: SOLR-9157
>                 URL: https://issues.apache.org/jira/browse/SOLR-9157
>             Project: Solr
>          Issue Type: Bug
>          Components: Schema and Analysis
>    Affects Versions: master (7.0)
>            Reporter: Brandon Bergren
>            Priority: Minor
>         Attachments: SOLR-9157.patch
>
>
> When using managed synonyms, SynonymMap.analyze() is never being called on 
> the terms and mappings when the SynonymMap is being created. This is causing 
> the FST to contain spaces instead of WORD_SEPARATOR on multiple-word terms, 
> leading to multiple-word terms never matching anything.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to