Hi Nitin, We need to encore frequencies somehow in order to know how many positions a posting has, so we couldn't really optimize storage for that use-case. Besides, I suspect that frequencies are only a tiny part of the disk footprint of an inverted index when positions are enabled.
On Tue, Jan 8, 2019 at 8:59 PM Nitin Goyal <nitin.go...@sprinklr.com> wrote: > > Hi All, > > Does it make sense to have another option for IndexOptions, i.e. > DOCS_AND_POSITIONS > Use case is that we are looking on to decrease our storage and we don't care > about frequencies but we do need positions for phrase queries. > > https://lucene.apache.org/core/7_1_0/core/org/apache/lucene/index/IndexOptions.html > > -- > > Nitin Goyal > > -- Adrien --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org