There is some support in DocValues for multiple values per document, but they 
still ultimately must reduce down to a single value coming out of the function. 
 See the VectorValueSource as an example.  In other words, the API is there, 
but nothing implements it.  I imagine you could use the UninvertedField to back 
a ValueSource and have it leverage the DocValues that return multiple values.

If you can specify your use case, that might help define a solution.

On Feb 17, 2011, at 3:00 PM, Bill Bell wrote:

> Yes I know all too well. What would it take to extend VS to multivalued 
> fields ?
> 
> Bill Bell
> Sent from mobile
> 
> 
> On Feb 17, 2011, at 10:08 AM, "Yonik Seeley (JIRA)" <[email protected]> wrote:
> 
>> 
>>   [ 
>> https://issues.apache.org/jira/browse/SOLR-1581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995924#comment-12995924
>>  ] 
>> 
>> Yonik Seeley commented on SOLR-1581:
>> ------------------------------------
>> 
>> bq. It then occurred to me that wouldn't this be a faster way then doing the 
>> range queries
>> 
>> Sometimes yes, sometimes no.  This is sort of analogous to range vs frange.  
>> It depends on the number of ranges, the number of documents in the base set, 
>> etc.  Using ValueSource will currently only work for single-valued fields.
>> 
>>> Facet by Function
>>> -----------------
>>> 
>>>               Key: SOLR-1581
>>>               URL: https://issues.apache.org/jira/browse/SOLR-1581
>>>           Project: Solr
>>>        Issue Type: New Feature
>>>          Reporter: Grant Ingersoll
>>>           Fix For: Next
>>> 
>>> 
>>> It would be really great if we could execute a function and quantize it 
>>> into buckets that could then be returned as facets.
>> 
>> -- 
>> This message is automatically generated by JIRA.
>> -
>> For more information on JIRA, see: http://www.atlassian.com/software/jira
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem docs using Solr/Lucene:
http://www.lucidimagination.com/search


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

Reply via email to