[Zope] Z Search Interface returns numbers

Peppe Top peppetop at gmail.com
Tue Apr 10 17:27:28 EDT 2007


I've diligently followed the tutorial about searching in the Zope book:

http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/SearchingZCatalog.stx

You basically:
- create a ZCatalog object
- create a Lexicon and an Index
- finding objects and cataloging them
- create a web interface (with Z Search Interface) to search the ZCatalog.

When I search something in the SearchForm (via the "test" tab)
I just get numbers. I mean the ReportForm correctly reports the
objects containing the searched string, but lists handles (I guess).

Is this normal?

What can I do in order to get something like:

/Zoo/Serpents
/Zoo/Reptiles

(the above are imaginary DTML documents matching
the search criteria, and their path to ZODB root)

instead of:

4567489
4567480

???

Thanks a lot
-- Peppe

(Plone 2.1.2, Zope 2.8.7, Python 2.3.5, Red Hat Linux)


More information about the Zope mailing list