diff options
| author | Andrew Dolgov <noreply@madoka.volgo-balt.ru> | 2015-08-04 14:31:42 +0300 |
|---|---|---|
| committer | Andrew Dolgov <noreply@madoka.volgo-balt.ru> | 2015-08-04 14:31:42 +0300 |
| commit | 410c0ce6d5401f55a9c4a5360c31dd5800959134 (patch) | |
| tree | 5f81f05e7a5a5c1b81dd832a5df16a5f19353e9e /update.php | |
| parent | 8f135ce3b6369407021a7db1351346764f11cd44 (diff) | |
gen-search-idx: show how many entries are left
Diffstat (limited to 'update.php')
| -rwxr-xr-x | update.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/update.php b/update.php index 8fc28973f..5a082279e 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; |