Mercurial > p > roundup > code
comparison doc/upgrading.txt @ 825:0779ea9f1f18
More indexer work:
- all String properties may now be indexed too. Currently there's a bit of
"issue" specific code in the actual searching which needs to be
addressed. In a nutshell:
+ pass 'indexme="yes"' as a String() property initialisation arg, eg:
file = FileClass(db, "file", name=String(), type=String(),
comment=String(indexme="yes"))
+ the comment will then be indexed and be searchable, with the results
related back to the issue that the file is linked to
- as a result of this work, the FileClass has a default MIME type that may
be overridden in a subclass, or by the use of a "type" property as is
done in the default templates.
- the regeneration of the indexes (if necessary) is done once the schema is
set up in the dbinit.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 09 Jul 2002 03:02:53 +0000 |
| parents | faf164ab8ed9 |
| children | 2dd862af72ee |
comparison
equal
deleted
inserted
replaced
| 824:34eacaa7e313 | 825:0779ea9f1f18 |
|---|---|
| 4 | 4 |
| 5 Please read each section carefully and edit your instance home files | 5 Please read each section carefully and edit your instance home files |
| 6 accordingly. | 6 accordingly. |
| 7 | 7 |
| 8 .. contents:: | 8 .. contents:: |
| 9 | |
| 10 Migrating from 0.4.x to 0.5.0 | |
| 11 ============================= | |
| 12 | |
| 13 0.5.0 Configuration | |
| 14 ------------------- | |
| 15 | |
| 16 TODO: mention stuff about indexing | |
| 17 TODO: mention that the dbinit needs the db.post_init() method call for | |
| 18 reindexing | |
| 19 | |
| 9 | 20 |
| 10 Migrating from 0.4.1 to 0.4.2 | 21 Migrating from 0.4.1 to 0.4.2 |
| 11 ============================= | 22 ============================= |
| 12 | 23 |
| 13 0.4.2 Configuration | 24 0.4.2 Configuration |
