ok thanks so i can do them. but for boolean type? i could compress using bit. Is there pack function for boolean arrays?
2016-08-10 11:25 GMT+02:00 Michael McCandless <luc...@mikemccandless.com>: > It's partially right! > > E.g. IndexWriter will use less memory, and so you'll get better indexing > throughput with a ShortPoint and BytePoint. > > But index size will be the same, because Lucene's default codec does a good > job compressing these values. > > Mike McCandless > > http://blog.mikemccandless.com > > On Wed, Aug 10, 2016 at 5:19 AM, Cristian Lorenzetto < > cristian.lorenze...@gmail.com> wrote: > > > sorry but I was developping a shortPoint and BytePoint for less using > less > > memory space. it is wrong? > > > > 2016-08-09 22:01 GMT+02:00 Michael McCandless <luc...@mikemccandless.com > >: > > > > > It's best to index numeric using the new dimensional points, e.g. > > IntPoint. > > > > > > Mike McCandless > > > > > > http://blog.mikemccandless.com > > > > > > On Tue, Aug 9, 2016 at 10:12 AM, Cristian Lorenzetto < > > > cristian.lorenze...@gmail.com> wrote: > > > > > > > how to encode a short or a byte type in byteRef in lucene 6.1? > > > > > > > > > >