Notes
PyLucene and threads
In order for PyLucene to work in a thread other than the main thread it needs to be run under attachCurrentThread.
The easiest way to do this is to subclass
RepositoryThread?. See
osaf/framework/tasks/TaskManager for an example (TaskThread)
LOBs and free text indexing
Attributes of type Text or Binary are not automatically index. In fact, there is no way to say that an attribute of Text/Binary/LOB type should
be indexed. Instead, when you create the LOB, you need to set the indexed bit on it (there are also bits for compressed, etc). This allows
the possiblity that developers will forget to set the indexed flag and data will mysteriously not be indexed. It doesn't seem like this is something
that can be worked around at the parcel.xml level, so we're probably going to have to tackle this.
--
TedLeung - 27 Aug 2004