Use numeric fields by default for byte and short properties
Description
follows up on
is fixed by
relates to
required for
Activity
Show:

Fabio Massimo Ercoli February 15, 2019 at 12:43 PM
Numeric encoding is the default in Hibernate Search 6 for any numeric types.

Sanne Grinovero August 18, 2015 at 5:44 PM
Good question. I don't think we have to wait for 6.0 as I don't expect this to be a big deal, and reindexing is often needed anyway.
But it is a breaking change so if we do it, it will need blog highlights, etc.. rolling it into a 6.0 would be a minor.
So it's a matter of "small consistency fix" vs "small migration issue".. I'm fairly neutral, so I'd do what's easier for us in terms of fitting within other related work. For example if it makes sense for your ES POC we could mark this for 5.5?

Gunnar Morling August 18, 2015 at 4:12 PM
, Something for 5.5? Or do you want to save it for 6.0?
Out of Date
Details
Details
Assignee

Reporter

Components
Sprint
None
Priority
Created January 21, 2015 at 5:55 PM
Updated December 3, 2024 at 9:20 AM
Resolved February 15, 2019 at 12:43 PM
provides numeric bridges for byte/short typed properties. For the sake of index compatibility, these are for now only used if a property is explicitly marked as numeric field.
To be consistent with the other numeric types - which are encoded as numeric fields by default - the default encoding is to be changed to numeric fields with the next non-bugfix release.