Solr/Lucene fieldCache OutOfMemory error sorting on dynamic field

前端 未结 2 2060
逝去的感伤
逝去的感伤 2020-12-10 07:54

We have a Solr core that has about 250 TrieIntFields (declared as dynamicField). There are about 14M docs in our Solr index and many documents have

2条回答
  •  萌比男神i
    2020-12-10 08:08

    I think you have two options:

    1) Add more memory.
    2) Force Solr not to use the field cache by specifying facet.method=enum, as per documentation.

    There's also a solr-user mailing list thread discussing the same problem.

    Unless your index is huge, I'd go with option 1). RAM is cheap these days.

提交回复
热议问题