From 410c0ce6d5401f55a9c4a5360c31dd5800959134 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 4 Aug 2015 14:31:42 +0300 Subject: [PATCH] gen-search-idx: show how many entries are left --- update.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5