[
https://issues.apache.org/jira/browse/SOLR-18217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SOLR-18217:
----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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]