zcatalog -- returning context of hits on fulltext
Hi all I've got a lot of Word docs and Powerpoint presentations and PDFs etc in the ZOBD, stored with their full text in a property of the containing object, so that all those binary docs are searchable. This works great, but returns only the found objects and the cached properties specified in the MetaDate Table. Wouldn't it be great to be able to give just a line or two of context from the full text, the way Google does? I have a feeling I'm asking for pie in the sky, but if anyone has a brilliant (or a functional) solution I'd be delighted. cheers, -- jean
on Monday, August 14, 2000 Jean Jordaan wrote : .... JJ> This works great, but returns only the JJ> found objects and the cached properties specified in the JJ> MetaDate Table. JJ> Wouldn't it be great to be able to give just a line or two JJ> of context from the full text, the way Google does? I have JJ> a feeling I'm asking for pie in the sky, but if anyone has JJ> a brilliant (or a functional) solution I'd be delighted. make a pythonmethod that returns the first 200 letters or something of the text , and add a metadata field to your catalog referencing this pythonmethod.. -- Should give you what you want.. :-) -- Geir Bækholt web-developer/designer geirh@funcom.com http://www.funcom.com
participants (2)
-
Geir B�kholt -
Jean Jordaan