[Grok-dev] Catalog/Indexes/Search error

Sebastian Ware sebastian at urbantalk.se
Wed Dec 30 16:33:01 EST 2009


I have modified your code with search and add objects just to try it.  
It seems to work perfectly.

1 created project

   bin/grokproject TimSearch --zopectl

2 Modified setup.py to add install_requires

      'zc.catalog',
      'hurry.query'

3 ran

   bin/buildout

4 added the following code files and page templates

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Arkiv.zip
Type: application/zip
Size: 5043 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/grok-dev/attachments/20091230/b2931a67/attachment.zip 
-------------- next part --------------


5 Started the project and created the instance of the application

Now you can do:

   http://localhost:8080/test/addobjects

to add 10 objects. Then try

   http://localhost:8080/test/protonsearch?search=where

to search and return the text index results.

Mvh Sebastian



30 dec 2009 kl. 02.46 skrev Tim Cook:

> <proton.txt>



More information about the Grok-dev mailing list