Use commit timestamps for ElasticSearch and sort on last commit time.
[phorkie.git] / src / phorkie / Database / IIndexer.php
1 <?php
2 namespace phorkie;
3
4 interface Database_IIndexer
5 {
6     public function addRepo(Repository $repo, $crdate = null, $modate = null);
7     public function updateRepo(Repository $repo, $crdate = null, $modate = null);
8     public function deleteAllRepos();
9     public function deleteRepo(Repository $repo);
10 }
11
12 ?>