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

Michael McCandless commented on SOLR-5654:
------------------------------------------

In Lucene server (LUCENE-5376) I just created a custom ResourceLoader to pull 
stopwords that were specified (inlined) in the JSON when the field is 
registered.

But separately I think it's ... dangerous to allow changing stopwords / syns on 
an already created field / running index?  Ie, such changes won't fully "take 
effect" until you re-index all content ... I know it's convenient to be able to 
make such changes, but it's also trappy.

> Create a synonym filter factory that is (re)configurable, and capable of 
> reporting its configuration, via REST API
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-5654
>                 URL: https://issues.apache.org/jira/browse/SOLR-5654
>             Project: Solr
>          Issue Type: Sub-task
>          Components: Schema and Analysis
>            Reporter: Steve Rowe
>
> A synonym filter factory could be (re)configurable via REST API by 
> registering with the RESTManager described in SOLR-5653, and then responding 
> to REST API calls to modify its init params and its synonyms resource file.
> Read-only (GET) REST API calls should also be provided, both for init params 
> and the synonyms resource file.
> It should be possible to add/remove/modify one or more entries in the 
> synonyms resource file.
> We should probably use JSON for the REST request body, as is done in the 
> Schema REST API methods.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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

Reply via email to