JVM-Memory has gone up from 3% to 17.1%

On Fri, Aug 7, 2015 at 12:10 PM, Shawn Heisey <apa...@elyograg.org> wrote:

> On 8/7/2015 10:25 AM, naga sharathrayapati wrote:
> > i have added docValues="true" to my existing schema and I have seen
> > exponential increase in the size of the index.
> >
> > The reason in going with docValues is to improve the faceting query time.
> >
> > schema:
> > <field name="abcdef" type="date" indexed="true" stored="true"
> > multiValued="false" docValues="true"/>
> >
> > Is this ok? am i doing anything wrong in the schema?
>
> An exponential increase would REALLY surprise me.  I have seen indexes
> nearly double in size with the addition of docValues on the primary
> search field.  You are storing another complete copy of the original
> value sent to Solr.  It will be compressed if your Solr version is at
> least 4.2, just like the stored value is in 4.1 and later.
>
> If you are only adding docValues to a date field, I would not expect
> that to affect your index size very much at all, but if you are adding
> them to large text fields, it would.
>
> Performance tweaks are nearly always a trade -- typically your space and
> memory utilization goes up, and it runs faster.  If you don't have
> enough memory, then either performance will go down or the system will
> stop working entirely.
>
> Thanks,
> Shawn
>
>

Reply via email to