Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346467

Summary: [client] Search is broken
Product: [ECD] Orion Reporter: Szymon Brandys <Szymon.Brandys>
Component: ClientAssignee: Simon Kaegi <simon_kaegi>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: john.arthorne, simon_kaegi
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Szymon Brandys CLA 2011-05-19 11:06:35 EDT
Search is broken. When I try to use it I get:

HTTP ERROR 400

Problem accessing /search/search.html. Reason:

    BAD_REQUEST

Powered by Jetty://

John saw the same.
Comment 1 John Arthorne CLA 2011-05-19 11:12:31 EDT
The path probably collides with the help search servlet.
Comment 2 John Arthorne CLA 2011-05-19 11:13:03 EDT
I used "filesearch" for the servlet - this distinguishes it from another kind of search (like help search).
Comment 3 Simon Kaegi CLA 2011-05-19 11:18:49 EDT
I think the idea of registering our own help resource extensions is sounding better and better.
Comment 4 Simon Kaegi CLA 2011-05-20 11:48:47 EDT
This is now fixed so all of help is located under /help. What we're doing is registering another HttpService under /help using the HttpServiceServlet and providing it with the appropriate "other.info" to support help.

I've also added an orion filter to prevent us from registering our various resources into services that don't match the filter  (other.info=org.eclipse.orion)