I'm working implementing Solr in an environment where we want Solr to reindex files in certain directories whenever they are changed (or added). At the moment, all I am aware of is a full reindex, which is undesirable for us. Does anyone know of a feature that provides this functionality?
Under Linux you can use inotifywait
to watch a directory for changes (files added/modified/deleted). You can then use that event to trigger bin/post
to send any updated files (and if you need, remove files that have been removed).