NXP-15892: improve performance of document adapter lookup