Commit dc18b24
Help search: Make the number of max hits before filtering configurable
In the search of the help system, make the number of topics to be
searched for before the filtering is applied configurable, so that it
can be set in the "plugin_customization.ini" file.
If the number is too small, hits may be missed, e.g. when searching in a
topic and its subtopics. The higher the number, the slightly worse the
performance. The default is 1,000 and the maximum number of hits
displayed to the user is 500, which means that if more than 500 of the
hits before filtering are outside of the search scope, some hits will be
missed.
See also:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=3578571 parent 0fc54b8 commit dc18b24
File tree
2 files changed
+10
-1
lines changed- ua/org.eclipse.help.base
- src/org/eclipse/help/internal/search
2 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
210 | 216 | | |
211 | 217 | | |
212 | 218 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
95 | 98 | | |
96 | 99 | | |
97 | 100 | | |
| |||
662 | 665 | | |
663 | 666 | | |
664 | 667 | | |
665 | | - | |
| 668 | + | |
666 | 669 | | |
667 | 670 | | |
668 | 671 | | |
| |||
0 commit comments