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

Yonik Seeley commented on SOLR-351:
-----------------------------------

Hmmm, due to pluggable query parsers patch, I pass around the QParser 
everywhere now, so perhaps
it is easiest + consistent to extend that to getValueSource.
public ValueSource getValueSource(SchemaField field, QParser parser)

Easy change... it's only called in one place in the source.

> 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.

Reply via email to