[Zope] ZCTextIndex and word position

Andreas Jung lists at zopyx.com
Fri Aug 11 07:14:00 EDT 2006



--On 11. August 2006 09:23:49 +0100 Eric Fernandez <egf05 at doc.ic.ac.uk> 
wrote:

> Hi,
>
> I am using a ZCTextIndex to index and search text files. I use a search
> form to retrieve the objects that match a search. I would like to know if
> it is possible to retrieve more details about the search, in particular
> the line numbers (or the word position in the file) where a match has
> been found in a particular file?

No. None of the existing indexing solutions for Zope have any knowledge 
about the document structure. You can only figure out the word positions 
inside the stream of words...

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060811/9674dc1d/attachment.bin


More information about the Zope mailing list