Feature request: Extend AbstractSearchProcessor#postSearch(...)
of the org.eclipse.help.searchProcessor
extension point
#1725
+70
−23
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
org.eclipse.help.searchProcessor
extension point allows to modify the help search results. This is done by calling thepostSearch(...)
method of all implementations oforg.eclipse.help.search.AbstractSearchProcessor
specified by this extension point. In some cases, the search results to be modified and the query that are passed as parameters to thepostSearch(...)
method may not be enough. So this change adds anotherpostSearch(...)
method with additional parameters like the locale and the scopes if any. The simplerpostSearch(...)
is be kept for backward compatibility.Additionally, if
preSearch(...)
returns aSearchProcessorInfo
with an empty, non-null
query (""
), no search will be executed, resulting in no search results or in the search results that has been added viapostSearch(...)
.