[ 
https://issues.apache.org/jira/browse/SOLR-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679236#action_12679236
 ] 

Yonik Seeley commented on SOLR-939:
-----------------------------------

Right - it made sense to me to go through the FunctionQuery/ValueSource 
abstraction to do range filters, as it's a superset of just going off of the 
FieldCache (it could work with functions, FileFloatSource, and future payload 
or column-stored fields too).

I've been meaning to get back to this patch... at a minimum it would need 
support for all of the field types as well as tests.  I think I may even have 
some local updates since this last patch - I'll have to check.

It would be nice if one could tag a field with info to use 
ValueSourceRangeFilter for any range queries... but it doesn't seem necessary 
before committing this underlying functionality.

> ValueSourceRangeFilter/Query
> ----------------------------
>
>                 Key: SOLR-939
>                 URL: https://issues.apache.org/jira/browse/SOLR-939
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>             Fix For: 1.4
>
>         Attachments: SOLR-939.patch
>
>
> Ability to do a range query based on a FieldCache entry or a FunctionQuery 
> (ValueSource).
> Equivalent to Lucene's FieldCacheRangeQuery

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