[
https://issues.apache.org/jira/browse/SOLR-3332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Erick Erickson resolved SOLR-3332.
----------------------------------
Resolution: Not A Problem
First, please ask questions like this on the Solr user's list rather than
raising a JIRA, JIRAs are intended for code development.
But in your case you can index a min_voltage as 10 and a max_voltage as 240.
Now you just form queries (or filter queries, fq) like
min_voltage:[* TO 110] AND max_voltage:[110 TO *]
> How to index a range of values in solr
> ----------------------------------------
>
> Key: SOLR-3332
> URL: https://issues.apache.org/jira/browse/SOLR-3332
> Project: Solr
> Issue Type: Task
> Reporter: mohamed badawi
>
> I have equipments site , need to index equipment specifications
> Some of specifications are range of values
> for example
> i have an equipment , have minimum voltage 10 v and maximum voltage 220 v
> i need to index it . so when a user search for equipment with 110 v can find
> this one in the results
> TY
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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]