How to index and store pdf file in elastic search using spring boot?

No That is the problem I am facing with. I would like to know how to create pipeline using java so that i can store the pdfs