[Zope-dev] Re: ZCatalog Indexing

Jason Spisak 444@hiretechs.com
Tue, 04 Apr 2000 14:50:18 GMT


I wish I did. ;)

The only one to ask about that is Michel P., the ZCatalog's creator.  I
don't know if partial seraches are in the next release or not.  I know
vocabulary words are.  Glad I could help you though.

All my best,


Ping Lau writes:

> Hi Jason,
> 
> I like to apologize.  Your catalog_quote() method does work.  I was trying
> to do a partial search on the poNo.  For example, if poNo is "281 verbal",
> searching for either 281 or verbal works.  But if poNo is "281-verbal", the
> Catalog treats it as one word.  Therefore 281 (& so is verbal) is part of
> the whole word.  I found out from the mailing list archive that the current
> ZCatalog does not support partial search.  Do you have any idea how to
> implement partial search?
> 
> Regards,
> Ping
> 
> ----
> 
> 
> >Take a look at your Zclass instance propertysheet for poNo.
> >What is the value for poNo there?
> >
> >It should be a string of letters, not numbers.
> >
> >Start with something simpler to check to see if it's in the Catalog.
> >
> ><dtml-in "Catalog(poNo='theactualstring')">
> > <dtml-var id>
> ></dtml-in>
> >
> >jason
> 
> 


Jason Spisak
CIO
HireTechs.com
6151 West Century Boulevard
Suite 900
Los Angeles, CA 90045
P. 310.665.3444
F. 310.665.3544

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.