PDF become non searchable after covert to PDF/A

Hi Team,
Below logic we are using to covert OCR converted pdf to PDF/A compliance. However after the conversion we noticed pdf become non searchable. We have tried Aspose online converter tool and able covert file to PDA/A without any issue. Please advise do we need to set any additional parameter to below code ? or please share us the code used in online converter application. Thanks.

Aspose-pdf-20.8.jar
Java 8

com.aspose.pdf.Document doc = new com.aspose.pdf.Document(new ByteArrayInputStream(FileUtils.readFileToByteArray(new File(“sample.pdf”))));
while(!doc.validate( new PdfFormatConversionOptions(PdfFormat.PDF_A_2U, ConvertErrorAction.Delete))){
doc.convert( new PdfFormatConversionOptions(PdfFormat.PDF_A_2U, ConvertErrorAction.Delete));
}
doc .save(“sample-pdf-a.pdf”);

Source file - sample.pdf (227.4 KB)
converted file - sample-pdf-a.pdf (234.7 KB)
conversion log - convert.zip (609 Bytes)

@bckoh_ncs_com_sg

Would you please also share the output file which you obtained using our online app.

Hi @asad.ali, Please find the attachment. Thanks sample-converted.pdf (228.8 KB)

@bckoh_ncs_com_sg

The shared PDF (which you obtained from online app) is PDF/A_2A compliant whereas you are converting the document into PDF/A_2U via code snippet. Nevertheless, we were able to notice the mentioned issue i.e. output document was not searchable anymore and have logged it as PDFJAVA-39766 in our issue tracking system. We will further look into its details and keep you informed about its rectification status. Please have patience and give us some time.

We are sorry for the inconvenience.

Thank you @asad.ali . Hope will fix the issue soon.

@asad.ali any update for this issue ? its almost year now and didn`t see any update from you.

@bckoh_ncs_com_sg

We really regret to inform that the issue has not been yet resolved due to other issues which were logged prior to it. However, we have recorded your concerns and will surely consider them during issue investigation. We will inform you once we have certain updates regarding issue rectification. Please give us some time.

We apologize for the inconvenience caused.