Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318057 - [Help] Search Index makes remote server calls when building if remote priority preference is selected - Fix in Eclipse 3.7
Summary: [Help] Search Index makes remote server calls when building if remote priorit...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7 M1   Edit
Assignee: Chris Goldthorpe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-25 18:16 EDT by Chris Goldthorpe CLA
Modified: 2010-06-25 18:32 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Goldthorpe CLA 2010-06-25 18:16:15 EDT
+++ This bug was initially created as a clone of Bug #316824 +++

Build Identifier: eclipse-SDK-3.6RC4-win32

When the Search Index is building, it constructs a series of help:// URLs for retrieving the index documents.  With the introduction of remote help priority in Eclipse 3.6, help:// URLs first go to the remote information center to check for the content which causes the Search Index to make remote calls when building, unlike in releases previous to Eclipse 3.6 which would search locally first, and therefore never run into this problem.

When the input stream for a help:// URL is read, Eclipse needs to know if this is an index call, and if so, search locally rather than honoring the remote priority preference.

HelpURLConnection.getInputStream() is likely where the changes need to be made.

Reproducible: Always

Steps to Reproduce:
1. Navigate to Window -> Preferences -> Help -> Content and point to a remote infocenter.
2. Select the radio button "Include remote help and give it priority"
3. Open the help system via Help -> Contents, and do a search.  The index will build, but will make remote calls for the remaining index documents (that weren't preindexed)
Comment 1 Chris Goldthorpe CLA 2010-06-25 18:32:51 EDT
The patch from Bug 316824 has been applied to HEAD. Fixed