Is it possible to search binary files content, like PDF, using
MarkLogic with Node.js? How do you retrieve the PDF docs stored in database using MarkLogic with Node.js?
Asked
Active
Viewed 221 times
0

Dave Cassel
- 8,352
- 20
- 38

Rakesh .p
- 79
- 2
- 13
1 Answers
7
it is not possible to search binary documents in the database - this stands true regardless whether you'd want to do this via Query Console or via any API.
As explained in this answer you can extract metadata for binary documents or convert binary documents into XML documents for example. Once you do that you can execute search against it and you can execute that search using Node.js as well of course.

Tamas
- 10,953
- 13
- 47
- 77
-
There's a good chapter in the Application Developer's Guide regarding working with binaries: https://docs.marklogic.com/guide/app-dev/binaries – Harry Bakken Sep 28 '17 at 05:05