Do SOLr index size decrease after deleting documents? -


i have solr instance index large number of documents client users can search them in web application.

because have large number of files , need search recent ones (90 days or so) have scheduled job remove old documents index.

the problem is, disk space increasing 2gb day, deletions.

is normal behavior or should more keep index in stable size?

we using java application add , remove files index.

deletions mark documents deleted - they're still present in index. since removing them require rewriting index files, actual removal not performed before issue optimize command.

there's option expungedeletes when issue commit, far can see, it's better issue optimize outside of normal operating hours. if remove documents nightly, can issue optimize after removal, or more infrequent, such every second or third day.

optimizing requires same amount in free disk space index takes (since worst case whole index being written again).


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -