My objective is to remove stopwords, do stemming from container.para and then write a query to find any match from para like below

Container contains alot of heading and para. I want to remove stopwords, perform stemming for all the text incontainer
Thanks in advance.