From: Andrew Dolgov Date: Tue, 4 Aug 2015 11:31:42 +0000 (+0300) Subject: gen-search-idx: show how many entries are left X-Git-Tag: 16.3~190 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=410c0ce6d5401f55a9c4a5360c31dd5800959134;p=tt-rss.git gen-search-idx: show how many entries are left --- diff --git a/update.php b/update.php index 8fc28973..5a082279 100755 --- a/update.php +++ b/update.php @@ -335,10 +335,10 @@ if (isset($options["gen-search-idx"])) { echo "Generating search index (stemming set to English)...\n"; - $result = db_query("SELECT COUNT(id) AS count FROM ttrss_entries"); + $result = db_query("SELECT COUNT(id) AS count FROM ttrss_entries WHERE tsvector_combined IS NULL"); $count = db_fetch_result($result, 0, "count"); - print "Total entries: $count.\n"; + print "Entries to process: $count.\n"; $offset = 0; $limit = 1000;