Make help app search using subheadings
If a searchable item provides subheadings, use those instead of the body. The subheadings should have less text than the body, so index update should happen in less time. If a search result has multiple subheadings, pick the one with the most positions. Also add js type check for the browsertests. The build rules are based on the ones used in media_app_ui/BUILD.gn Bug: b/170162418 Change-Id: Ic9682ac13b3d5e674c5d30e7042d199e98f42206 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2466011 Commit-Queue: Zufeng Wang <zufeng@google.com> Reviewed-by:Rachel Carpenter <carpenterr@chromium.org> Cr-Commit-Position: refs/heads/master@{#816888}
Showing
Please register or sign in to comment