omindex: Add "pages" field
commit714fc4cc508b04a5439b33cb72587b4e25faeef8
authorOlly Betts <olly@survex.com>
Fri, 21 Sep 2018 02:29:08 +0000 (21 14:29 +1200)
committerOlly Betts <olly@survex.com>
Fri, 21 Sep 2018 02:30:42 +0000 (21 14:30 +1200)
tree1986119afc2f1e838a7b6f4a24a6d42c8edc3e7a
parent763df0205ee7739a83bb5863d9e8c966cb501758
omindex: Add "pages" field

Where known (currently only for PDF files for pdfinfo reports the
information), add a "pages" field with the number of pages in the
document.

(cherry picked from commit 34a24cf0fc87d417360f1cb7c3f9f005761140a2)
xapian-applications/omega/index_file.cc