Mercurial > p > roundup > code
changeset 703:8d2cb0d09da4 search_indexing-0-4-2-branch
Fixed small bug that prevented indexes from being generated.
| author | Roche Compaan <rochecompaan@users.sourceforge.net> |
|---|---|
| date | Thu, 02 May 2002 11:52:12 +0000 |
| parents | b6b3a7d4250d |
| children | 54333751e98d |
| files | roundup/roundup_indexer.py |
| diffstat | 1 files changed, 13 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/roundup/roundup_indexer.py Thu May 02 11:49:19 2002 +0000 +++ b/roundup/roundup_indexer.py Thu May 02 11:52:12 2002 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -#$Id: roundup_indexer.py,v 1.1.2.2 2002-04-19 19:54:42 rochecompaan Exp $ +#$Id: roundup_indexer.py,v 1.1.2.3 2002-05-02 11:52:12 rochecompaan Exp $ ''' This module provides an indexer class, RoundupIndexer, that stores text indices in a roundup instance. This class makes searching the content of @@ -34,6 +34,7 @@ if not os.path.exists(indexdb_path): os.makedirs(indexdb_path) os.chmod(indexdb_path, 0775) + else: index_exists = 1 index_path = os.path.join(indexdb_path, 'index.db') SlicedZPickleIndexer.__init__(self, @@ -78,6 +79,17 @@ # #$Log: not supported by cvs2svn $ +#Revision 1.1.2.2 2002/04/19 19:54:42 rochecompaan +#cgi_client.py +# removed search link for the time being +# moved rendering of matches to htmltemplate +#hyperdb.py +# filtering of nodes on full text search incorporated in filter method +#roundupdb.py +# added paramater to call of filter method +#roundup_indexer.py +# added search method to RoundupIndexer class +# #Revision 1.1.2.1 2002/04/03 11:55:57 rochecompaan # . Added feature #526730 - search for messages capability #
