I'm using elasticsearch to store lists of keywords with the standard analyzer
, like this:
{
id:1,
body_color:'silver,blue',
feature:'wifi,gps'
},
{
id:2,
body_color:'blue,red',
window_color:'yellow,white',
feature:'multi core,wifi'
}
Does sorting these lists in alphabetical order, e.g)
{
id:1,
body_color:'blue,silver',
feature:'gps,wifi'
},
{
id:2,
body_color:'blue,red',
window_color:'white,yellow',
feature:'multi core,wifi'
}
require a smaller index size because of the more standard and less variations? Does it help for normalizing the tokens?