Bug 164308 - can't build search index for help pages
Summary: can't build search index for help pages
Status: RESOLVED FIXED
Alias: None
Product: khelpcenter
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Documentation Editorial Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-17 16:42 UTC by tis-joeri
Modified: 2016-03-12 23:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tis-joeri 2008-06-17 16:42:12 UTC
Version:           4.0.3 (KDE 4.0.3) (using 4.0.5 (KDE 4.0.5), Kubuntu packages)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24-19-generic

When starting KDE HelpCenter for any application, there is no search index, but it's not possible to create one: you can click the button "build search index" but on the next screen, you have the possibility to enter a path for the index, but the button "Build index" stays greyed out...

There is not a single entry in the list of documents for which a search index exists or can be created.
Comment 1 Dario Andres 2008-12-31 17:59:04 UTC
Have you experienced this bug again using a recent KDE (4.1.3 / 4.2beta2 / 4.2svn) ? Thanks :)
Comment 2 Dario Andres 2009-05-08 22:57:19 UTC
Marking as NEEDSINFO
Comment 3 Pino Toscano 2016-03-12 23:27:27 UTC
Git commit 02c218083bebd581e8a33741cd101fcc0ac2cfef by Pino Toscano.
Committed on 12/03/2016 at 23:01.
Pushed by pino into branch 'master'.

Automatically update indexes at startup

Currently the user is asked to manually update the search index, which
is not a friendly solution. Instead, start the indexing update right
after the startup, with a indefinite progress bar showing the on-going
process. Considering the Xapian indexing is generally fast, this won't
cause a big delay between the startup and when the user can start
searching.

Move the queue-based index logic from IndexBuilder to Navigator
directly, getting rid of the separate khc_indexbuilder tool (no need to
have an helper tool to spawn the actual indexing/searcing tools) and
the D-Bus interface to support it, and removing the indexing dialog
(now everything that can be indexed is updated).

This also removes the need for indexers to create <identifier>.exists
files in the index directories.
Related: bug 101876, bug 205126, bug 222494, bug 269260

M  +0    -16   CMakeLists.txt
D  +0    -1    config-khelpcenter.h.cmake
M  +1    -16   docentry.cpp
M  +0    -2    docentry.h
D  +0    -691  kcmhelpcenter.cpp
D  +0    -251  kcmhelpcenter.desktop
D  +0    -166  kcmhelpcenter.h
D  +0    -204  khc_indexbuilder.cpp
D  +0    -58   khc_indexbuilder.h
M  +2    -0    mainwindow.cpp
M  +121  -44   navigator.cpp
M  +15   -6    navigator.h
D  +0    -14   org.kde.khelpcenter.kcmhelpcenter.xml
M  +1    -4    searchhandlers/README.searchhandlers
M  +0    -9    searchhandlers/xapianindexer.cpp
M  +1    -10   searchwidget.cpp
M  +2    -6    searchwidget.h

http://commits.kde.org/khelpcenter/02c218083bebd581e8a33741cd101fcc0ac2cfef