Nodejs ingest pdf

Thank you Aaron on response,
So that means that all my content is searchable now, like this:


GET pdf-test9/_search
{
  "query": {
    "match_phrase": {
      "attachment.content": {
        "query": "and more text."
      }
    }
  }
}