Mercurial > p > roundup > code
diff CHANGES.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 | 254b8d112eec |
| children | c01725aebebb |
line wrap: on
line diff
--- a/CHANGES.txt Tue Jul 09 01:21:24 2002 +0000 +++ b/CHANGES.txt Tue Jul 09 03:02:53 2002 +0000 @@ -12,6 +12,19 @@ - only index text/plain and rfc822/message (ideas for other text formats to index are welcome) - added simple unit test for indexer. Needs more tests for regression. + - 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. . made the unit tests run again - they were quite b0rken
