Atef created SOLR-11972:

             Summary: range of numeric values with unit in Solr
                 Key: SOLR-11972
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Schema and Analysis
    Affects Versions: 6.6
            Reporter: Atef

My problem is that i have documents containing a numeric value and a unit like 



And i want to make querys like this:

weight:[5g TO 100KG]

Of course this doent work as easy as it sounds, the values are saved as 
strings. I did some research and came up with thisĀ 

This worked out pretty well, i can search for: weight:100000g and get results 
containing weight:100kg, nice. But i cant figure out how to extend this, to 
make a range-search possible

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to