in reply to Lucy in cgi perl

Can you reduce your two programs into one, shorter program that still exhibits the same problem?

For example, I don't think the HTML generation is necessary to reproduce the problem.

Have you verified that both documents get inserted into your search index?