[Zope] ZCatalog speed?

Michel Pelletier michel@digicool.com
Tue, 14 Sep 1999 11:05:49 -0400


> -----Original Message-----
> From: Stuart Woolford [mailto:stuartw@newmail.net]
> Sent: Tuesday, September 14, 1999 3:52 AM
> To: Michel Pelletier
> Subject: Re: [Zope] ZCatalog speed?
> 
> Sorry if this feels like 20-questions, your help is most 
> certainly very very
> appreciated.
> 
> When I create a ZSearch on the ZCatalogue I have, one of the 
> fields is 'name'
> (ie: there is an index in the ZCatalog called name, which is 
> a full-text index).
> 
> if, for example, I search for 'reality' (without the quotes, 
> of course) 
> using the ZSearch input form, it returns 3 rows on the 
> results form, with all
> the fields correct except the 'name' field, in which is 
> returned only 'reality'
> (again, without the quotes) - however the actual name field 
> contents are much
> longer than this (well, they tend to be around 5 words - they 
> are the names of
> books).
> 
> I am guessing that this should actually return the whole name 
> field, not just
> the bit that matched the particular search input, or am I 
> guessing wrong?

Is 'name' in your meta-data table?  if it isn't, then:

<dtml-var name>

in the report document will look up the form element 'name', which is
just the word you searched for.

-Michel