If there are changes to some articles that bypass Hibernate (e.g. manual changes in the db due to maintainance), we'd update the index for the changed articles only (because full rebuilds might be far too costly). We'd load only those articles and feed them to index() without having to devide them into changed and deleted articles. That might involve changing a range if articles where creating change and delete sets manually would be tedious.
|