You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "kayak28 (Jira)" <ji...@apache.org> on 2020/07/10 17:23:00 UTC

[jira] [Updated] (SOLR-14643) Edit Ref Guide about How to Configure Tokenizing Managed Synonyms

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

kayak28 updated SOLR-14643:
---------------------------
    Summary: Edit Ref Guide about How to Configure Tokenizing Managed Synonyms  (was: Edit Ref Guide about how to configure Tokenizing Managed Synonyms)

> Edit Ref Guide about How to Configure Tokenizing Managed Synonyms
> -----------------------------------------------------------------
>
>                 Key: SOLR-14643
>                 URL: https://issues.apache.org/jira/browse/SOLR-14643
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: documentation
>            Reporter: kayak28
>            Priority: Minor
>
> SynonymGraphFilter and SynonymFileter can configure a tokenizer to tokenize synonyms in text files. 
> The configuration is below:
>  
>  {{<}}{{filter}} {{class}}{{=}}{{"solr.SynonymGraphFilterFactory"}}
>  {{            }}{{ignoreCase}}{{=}}{{"true"}}
>  {{            }}{{synonyms}}{{=}}{{"synonyms.txt"}}
>  {{            }}{{tokenizerFactory}}{{=}}{{"solr.[Name of Tokenizer]"}}{{/>}}
> For ManagedSynonymGraphFilter, even though it can configure tokenizer in the Managed Resource JSON file, there does not exists any explanation about tokenizer configuration. 
>  For users to choose ManagedSynonymGraphFilter seamlessly, Solr reference guide should contain the configuration guide. 
>   
>  When a user want to tokenize their synonyms, which is used by ManagedSynonymGraphFilter, then the user should edit Managed Resource JSON like below. 
> { "responseHeader":\\{   "status":0, "QTime":3}
> , 
>    "synonymMappings":{ "
>   initArgs":
> {      "ignoreCase":true,        "format":"solr",       {color:#ffab00} "tokenizerFactory":"solr.<Name Of Tokenizer>Factory" {color}   }
> , 
>        "initializedOn":"2014-12-16T22:44:05.33Z", 
>       "managedMap":
> {          "GB": ["GiB", "Gigabyte"],         "TV": ["Television"],         "happy": ["glad", "joyful"]}
> }}
>   
>  Also, it might be nice if we could edit Managed Resource JSON via REST API.
>  (This could be another issue.)
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org