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

kayak28 updated SOLR-14643:
---------------------------
    Description: 
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",   

    "tokenizerFactory":"solr.<Name Of Tokenizer>Factory"    }, 
       "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.)
  

  was:
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", 
      "tokenizerFactory":"solr.<Name Of Tokenizer>Factory"
   }, 
      "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.)
 
{{}}


> 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: Major
>
> 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",   
>     "tokenizerFactory":"solr.<Name Of Tokenizer>Factory"    }, 
>        "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-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to