[ 
https://issues.apache.org/jira/browse/LUCENE-4426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463038#comment-13463038
 ] 

Adrien Grand commented on LUCENE-4426:
--------------------------------------

bq. How does this relate to NumericIndexDocValueSource?

I didn't know about this class! Maybe the new classes of my patch could replace 
this one:
  * the objectVal method returns an object whose type matches the ValueSource 
name,
  * there is the StrDocValuesFieldSource to deal with DocValues.Type.BYTES* 
when they are UTF8-encoded Strings
  * they use a default source when the segment has no DocValues
  * they give the ability to load direct sources

(My goal is to reuse them in SOLR-3855)

bq. I am confused why the current one only handles 3 types?

Right. Strange that it is able to deal with VAR_INTS but none of FIXED_INTS_*.
                
> New ValueSource implementations that wrap DocValues
> ---------------------------------------------------
>
>                 Key: LUCENE-4426
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4426
>             Project: Lucene - Core
>          Issue Type: New Feature
>          Components: modules/other
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>             Fix For: 4.1, 5.0
>
>         Attachments: LUCENE-4426.patch
>
>
> We should have ValueSource implementations that wrap DocValues in 
> lucene-queries so that DocValues can be used in function queries.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to