# Executing TextSearchInit multiple times

**URL:** <https://pdfjs.community/t/executing-textsearchinit-multiple-times/712>\
**Category:** Technical Support\
**Created:** [April 20, 2021, 4:57pm UTC](https://pdfjs.community/t/executing-textsearchinit-multiple-times/712 "2021-04-20T16:57:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [April 20, 2021, 4:57pm UTC](https://pdfjs.community/t/executing-textsearchinit-multiple-times/712/2 "2021-04-20T16:57:23Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

- [Advanced Search - Add a highlight annotation to each search result](https://pdfjs.express/documentation/search/advanced-search#add-a-highlight-annotation-to-each-search-result)
- [Documentation](https://pdfjs.express/api/utils/index.html#__anchor)
- [How to annotate text when receiving text as a string in pdf?](https://pdfjs.community/t/how-to-annotate-text-when-receiving-text-as-a-string-in-pdf/337/5)
- [I want to create custom circle annotation which I want to use as a stamp](https://pdfjs.community/t/i-want-to-create-custom-circle-annotation-which-i-want-to-use-as-a-stamp/662/1)
- [Programmatically highlight text upon searching](https://pdfjs.community/t/programmatically-highlight-text-upon-searching/71/1)

---

_[View the full topic](https://pdfjs.community/t/executing-textsearchinit-multiple-times/712)._
