"Convert IOObjectCllection to Document"

prachi138
prachi138 New Altair Community Member
edited November 5 in Community Q&A

Can any one help me with how I should tackle the below error:

 

"Wrong input of type 'IOObjectCollection' at port 'Fuzzy Matching: Document' . I'm trying tp perform a fuzzy match and the port requires a document input.

Best Answer

  • Thomas_Ott
    Thomas_Ott New Altair Community Member
    Answer ✓

    @prachi138 well then you need to probably use the Combine Documents operator to merge all your documents into one so the Fuzzy can work. If that is not what you want, then you will need to use a Loop operator to loop over each document record, Fuzzy it, spit out the result, and loop to the next record. 

Answers

  • Thomas_Ott
    Thomas_Ott New Altair Community Member

    @prachi138 try using a Data to Documents operator. 

     

    @sgenzer please move this thread out of chit chat to the appropriate board. 

  • prachi138
    prachi138 New Altair Community Member

    Hi Thomas,

     

    That is the operator I'm using which is resulting in the error. The Data to Documents operator converts the data into many document (one for each row). However, the Fuzzy Matching operator needs just one document. Correct me if I'm wrong! thanks

  • Thomas_Ott
    Thomas_Ott New Altair Community Member
    Answer ✓

    @prachi138 well then you need to probably use the Combine Documents operator to merge all your documents into one so the Fuzzy can work. If that is not what you want, then you will need to use a Loop operator to loop over each document record, Fuzzy it, spit out the result, and loop to the next record.