Is there a good article on reducing memory when in...
# community-help
a
Is there a good article on reducing memory when indexing large datasets?
j
I don’t have an article to share, but in general: • faceting adds additional memory overhead, so be sure to only turn it on for fields you’re actually using in
facet_by
• Enabling string sorting on a fields adds memory overhead • Enabling infix on a field adds memory overhead • Make sure that you only specify fields you’re searching / filtering / faceting / grouping / sorting on in the schema - you don’t have to mention every field in your document in the collection schema, even though you can send additional fields when indexing in the document. These additional fields will be stored on disk and returned when the document is a hit, and won’t count towards memory consumption