I need to load a FieldCache for a field wich is a solr "integer" type and has as maximum 3 digits. Let's say my index has 10M docs. I am wandering what is more optimal and less memory consumig, to load a FieldCache.DEFAUL.getInts or a FieldCache.DEFAULT.getStringIndex.
The second one will have a int[] for as many docs as the index have. Additionally will have a String[] for as many unique terms. As I am dealing with numbers, I will have to cast the values of the String[] to deal with them. If I load a FieldCache.DEFAULT.getInts I will have just an int[] with a value of a doc field on each array position. I will be able to deal straight with the ints... in this case will it be more optimal to use this? Thanks in advance -- View this message in context: http://lucene.472066.n3.nabble.com/FieldCache-DEFAULT-getInts-vs-FieldCache-DEFAULT-getStringIndex-Memory-usage-tp1348480p1348480.html Sent from the Solr - User mailing list archive at Nabble.com.