Re: php-gtk2-doc search

From: Date: Fri, 24 Feb 2006 14:02:31 +0000
Subject: Re: php-gtk2-doc search
References: 1 2 3  Groups: php.gtk.doc 
Request: Send a blank email to php-gtk-doc+get-1864@lists.php.net to get a copy of this message
Christian Weiske wrote:
So when searching for "window", "gtkscrolledwindow" will not appear, because only "gtkscrolledwindow" and "scrolledwindow" are as words for it in the index. Since there is no underscore between scrolled and window, it can't be indexed. And because I use file names as index base, I can't split the class names by camelCase (filenames are lowercase only).
Then it also won't appear when searching for "scroll", "scrolled" or "scrolled window". The only way to get GtkScrolledWindow to appear is to search for "scrolledwindow". Basically, unless you know almost exactly the name of the class you can't find it. If I know it that well what is the point in searching for it? Can a list of like search terms be added to your indexing script? That way after your regular indexing is done, the script can do a strpos on all files for our list of likely search terms. Since the indexing is only done once (or not very often at least) speed isn't so much of a concern. Maybe if we keep some sort of failed search log we can even update the list periodically to improve searching over time. Thanks, -- Scott Mattocks http://www.crisscott.com

« previous php.gtk.doc (#1864) next »