Since I have multiple big files, I want to reduce memory (and disk space) usage.
My need is to find a filemane/pageNum from a word (in content), and I never need content after indexing.
I tried this (with success):
for ( var id in idx.documentStore.docs )
delete idx.documentStore.docs[id].content;
but I wondering if there is a better way to achieve this with the public API.
Hello, Is it possible to remove a field once it has been indexed ?
my document is:
my index config:
Since I have multiple big files, I want to reduce memory (and disk space) usage. My need is to find a
filemane
/pageNum
from a word (incontent
), and I never needcontent
after indexing.I tried this (with success):
but I wondering if there is a better way to achieve this with the public API.