[Zope3-dev] Sprintathon: searching?

Steve Alexander steve@cat-box.net
Wed, 06 Nov 2002 11:52:18 +0000


Chris Withers wrote:

> kapil thangavelu wrote:
>
> >
> > umm. i think thats what steve is saying. the object itself knows
> > nothing of the interface, the adapter handles the object. so neither
> > the catalog nor the the object are specifying whats to be indexed.
>
>
> This fells overly compelx an uncessesary. I want to index something, I
> got to the indexer and configure which attributes I want indexed. Why
> would I want to care about adapters et al?


There will be nothing stopping you from writing such an indexer.

I typically have a variety of types of content that I want to perform a 
free-text search on. The methods and attributes of a particular object 
that provide the appropriate text to be indexed vary according to the 
type of the object, and the requirements of the person compiling the index.
This is particularly important when you want the "keywords" of one kind 
of object, but you do not want the "keywords" of another kind of object, 
for example.

--
Steve Alexander