NotesDXLExporter and FTSearch

I’ve been trying to use FTSearch method to return a document collection to set the input parameter of the ‘Call notesXMLProcessor.SetInput( Input )’ method. It is returning error code 4510. Debugging the script, it is setting the notesdocumentcollection object but throws the above error when calling the ‘Call exporter.process()’ method. If I feed it a collection based on a lookup to a view using a key or by using ‘AllDocuments’ property, then it does not error. Does this mean you cannot use FTSearch? Has anybody got any ideas???