[ https://issues.apache.org/jira/browse/SOLR-351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531200 ]
Hoss Man commented on SOLR-351: ------------------------------- FieldType is abstract, so we can always add a getValueSource(SolrQueryRequest req, SchemaFIeld field) that delegates to getValueSource(SchemaFIeld field) by default. (ditto for the init method if needed ... i almost think we should do both since i can imagine situations where FieldType might want to go ahead and pre-compute some info, but doing something like this would raise a lot of questions about what to do when newSearchers are opened ... might be better to stick with the request type access for now untill we have stronger uses cases for anything else) > external value source > --------------------- > > Key: SOLR-351 > URL: https://issues.apache.org/jira/browse/SOLR-351 > Project: Solr > Issue Type: New Feature > Reporter: Yonik Seeley > > Need a way to rapidly do a bulk update of a single field for use as a > component in a function query (no need to be able to search on it). > Idea: create an ExternalValueSource fieldType that reads it's values from a > file. The file could be simple id,val records, and stored in the index > directory so it would get replicated. > Values could optionally be updated more often than the searcher > (hashCode/equals should take this into account to prevent caching issues). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.