This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/android/search/search-in-a-pdf/annotation-search.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. Search PDF annotations on Android | Nutrient SDK

Nutrient Android SDK searches annotation and form field text by default, without additional setup. Search includes note comments, replies, text fields, combo boxes, and list boxes.

For feature details, refer to the replies guide and the forms guide.

To exclude annotation text, set SearchOptions.Builder#searchAnnotations() to false, and pass the options to performSearch:

val searchOptions = SearchOptions.Builder()
.searchAnnotations(false)
.build()
val results = textSearch.performSearch(query, searchOptions)

For search APIs and customization options, refer to the text search guide.