Java Code Examples for org.apache.solr.util.SolrPluginUtils#setDefaults()
The following examples show how to use
org.apache.solr.util.SolrPluginUtils#setDefaults() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TikaLanguageIdentifierUpdateProcessorFactory.java From lucene-solr with Apache License 2.0 | 5 votes |
@Override public UpdateRequestProcessor getInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next) { // Process defaults, appends and invariants if we got a request if(req != null) { SolrPluginUtils.setDefaults(req, defaults, appends, invariants); } return new TikaLanguageIdentifierUpdateProcessor(req, rsp, next); }
Example 2
Source File: LangDetectLanguageIdentifierUpdateProcessorFactory.java From lucene-solr with Apache License 2.0 | 5 votes |
@Override public UpdateRequestProcessor getInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next) { // Process defaults, appends and invariants if we got a request if(req != null) { SolrPluginUtils.setDefaults(req, defaults, appends, invariants); } return new LangDetectLanguageIdentifierUpdateProcessor(req, rsp, next); }
Example 3
Source File: OpenNLPLangDetectUpdateProcessorFactory.java From lucene-solr with Apache License 2.0 | 5 votes |
@Override public UpdateRequestProcessor getInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next) { // Process defaults, appends and invariants if we got a request if (req != null) { SolrPluginUtils.setDefaults(req, defaults, appends, invariants); } return new OpenNLPLangDetectUpdateProcessor(req, rsp, next, model); }