[
https://issues.apache.org/jira/browse/SOLR-9887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15881013#comment-15881013
]
Christine Poerschke commented on SOLR-9887:
-------------------------------------------
(Late to the party here.)
I think support for stop words, synonyms, etc. from sources other than text
files would be a useful feature for Solr and using streaming expressions to
'abstract away' the source of the stop words sounds like a good generalisation.
What might a preferred and suitable approach be to take this forward? In no
particular order:
* Option 1: config-to-code
** starting with the existing config e.g. {{<filter
class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" />}}
work out and sketch out what the new streaming expressions based configuration
will look like
** coding up of that solution
* Option 2: build-upon-existing
** creation of a pull request against lucene-solr based upon
https://github.com/shopping24/solr-jdbc as per above
** transformation of that pull request into streaming expressions based approach
* Option 3: <your idea here>
** <your thoughts here>
(From my very positive and collaborative experiences on SOLR-5730 and SOLR-8621
my preference/recommendation would probably be 'Option 1' rather than 'Option
2' and I'd be very interested to hear what Option 3, 4, etc. might be also.)
> Add KeepWordFilter, StemmerOverrideFilter, StopFilterFactory, SynonymFilter
> that reads data from a JDBC source
> --------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-9887
> URL: https://issues.apache.org/jira/browse/SOLR-9887
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Tobias Kässmann
> Priority: Minor
>
> We've created some new {{FilterFactories}} that reads their stopwords or
> synonyms from a database (by a JDBC source). That enables us a easy
> management of large lists and also add the possibility to do this in other
> tools. JDBC data sources are retrieved via JNDI.
> For a easy reload of this lists we've added a {{SeacherAwareReloader}}
> abstraciton that reloads this lists on every new searcher event.
> If this is a feature that is interesting for Solr, we will create a pull
> request. All the sources are currently available here:
> https://github.com/shopping24/solr-jdbc
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]