IDOL User Discussions
cancel

Prevent ODBCConnector / CFS creating additional documents for URLs

Highlighted
Joc
New Member.

Prevent ODBCConnector / CFS creating additional documents for URLs

I'm indexing a set of assorted documents from a database using the ODBCConnector, but somewhere in the process it is generating additional documents when the document contains HTML.

How do I prevent this happening?

1 REPLY
Joc
New Member.

Re: Prevent ODBCConnector / CFS creating additional documents for URLs

I think I found the source of the problem, and it was user error ( i'm new at this and it was a painful experience! ).

There was a "post" lua script that was parsing the document content and removing URLs, but it always just ended, never returning true or false.

If the document was empty I added a return false and that seems to have prevented the un-necessary documents being created.