platform search

This document lists the breaking API changes that occurred between R3.1 and R3.2 and how to migrate from the R3.1 API to the R3.2 API.

search - Breaking API changes from R3.1 to R3.2

search - Non-breaking API changes from R3.1 to R3.2
new API added to use the text search programmatically
  • TextSearchEngine
  • TextSearchScope
  • TextSearchMatchAccess
  • TextSearchRequestor
  • extension point textSearchQueryProvider
new API on AbstractTextSearchViewPage
  • handleSearchResultChanged(SearchResultEvent) protected to participate on search result events
  • getCurrentMatchLocation(Match match)
  • canRemoveMatchesWith(ISelection selection)
  • postEnsureSelection()
new API on NewSearchUI to start a query in a particular view
  • runQueryInBackground(ISearchQuery query, ISearchResultViewPart view)
  • runQueryInForeground(IRunnableContext context, ISearchQuery query, ISearchResultViewPart view)
new API added to provide a new search query provider
  • TextSearchQueryProvider
  • FileTextSearchScope
  • extension point textSearchQueryProvider
new action group containing the text search actions
  • TextSearchGroup