Houston Putman created SOLR-18217:
-------------------------------------
Summary: Add a SemVer field type
Key: SOLR-18217
URL: https://issues.apache.org/jira/browse/SOLR-18217
Project: Solr
Issue Type: New Feature
Reporter: Houston Putman
Assignee: Houston Putman
Add a semVer type (\{{1.2.3.4.5}}) that enables easy range queries and sorting.
Doing this via separate int/long fields can cause a headache when trying to
execute range queries and sorting wouldn't work at all.
We can internally convert it to a long (as long as we limit how big each part
of the version can be and how many parts we support). As long as we limit the
number of parts to 6 and the maximum version of each part to 999, then we will
have a maximum < 2^60, so a long should be able to fit this fine.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]