After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 346541 - create index to speed up searching
create index to speed up searching
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 352342 468584 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-07-04 13:25 UTC by Anatol Ulrich
Modified: 2018-05-22 13:09 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
increase search performance (700 bytes, patch)
2012-01-09 00:30 UTC, Thomas Schenker
committed Details | Review

Description Anatol Ulrich 2006-07-04 13:25:06 UTC
searching for text in a large pdf document is quite slow.
proposed solution: create an index of the searchable text, possibly when loading the document, or when the search dialog is first opened. Maybe make indexing optional, but then the default should be 'enabled'.
Another option: somehow use beagle's infrastructure, if present.
Comment 1 Nickolay V. Shmyrev 2006-07-04 17:58:49 UTC
Nice idea, probably just rework of text communication will make things faster.
Comment 2 Nickolay V. Shmyrev 2006-08-22 08:19:41 UTC
*** Bug 352342 has been marked as a duplicate of this bug. ***
Comment 3 lsof 2006-08-22 09:43:40 UTC
Maybe it could build the index the first time a search through the document is made.
Comment 4 lsof 2006-11-22 16:21:05 UTC
*** Bug 352342 has been marked as a duplicate of this bug. ***
Comment 5 Pavel Šefránek 2008-05-13 18:39:33 UTC
*** Bug 468584 has been marked as a duplicate of this bug. ***
Comment 6 Thomas Schenker 2012-01-09 00:30:31 UTC
Created attachment 204845 [details] [review]
increase search performance

this patch greatly reduces text search duration by emitting less signals during search. in my testcase search duration has been reduced from 12.5 seconds to 5.5 seconds.
Comment 7 Carlos Garcia Campos 2012-01-09 08:55:00 UTC
(In reply to comment #6)
> Created an attachment (id=204845) [details] [review]
> increase search performance
> 
> this patch greatly reduces text search duration by emitting less signals during
> search. in my testcase search duration has been reduced from 12.5 seconds to
> 5.5 seconds.

Thanks for the patch! This bug is about creating an index, and this patch doesn't speed up searching by creating an index, but emitting fewer signals, so please file a different bug report this and explain the patch there.
Comment 8 Germán Poo-Caamaño 2013-02-28 02:32:15 UTC
Review of attachment 204845 [details] [review]:

I tested this patch and it is notorious the search performance in a big document.  I filed a new bug in https://bugzilla.gnome.org/show_bug.cgi?id=694836, attached the patch keeping the credits.

Thanks!
Comment 9 GNOME Infrastructure Team 2018-05-22 13:09:16 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/26.