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

Bug 357109

Summary: Search with Name: not working
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ServerAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: 0.2   
Target Milestone: 0.3 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2011-09-08 11:29:49 EDT
Orion 0.3 2011-09-06-2200

Recently the Name: search seems to have stopped finding files. This is what I am doing:

1. Launch server with new workspace
2. Link to folder on disk where I keep the client code:
> C:\Users\mamacdon\code\orion\org.eclipse.orion.client
3. Wait for a while
4. Launch the "open resource" dialog, search for a filename that I know exists:
> http://localhost:8080/filesearch?q=Name:editor.js*
   This gives 0 results.

Sometimes I will instead get files that contain the filename query in their contents. For example, this:
> http://localhost:8080/filesearch?q=Name:orion*
Yields:
> bundle.properties
> bundle.properties
> bundle.properties
> orion.profile.js
> MANIFEST.MF
> orion.profile.js
> bundle.properties
> fileClientPlugin.html
> pluginregistry.js
> siteUtils.js
Comment 1 John Arthorne CLA 2011-09-12 10:22:27 EDT
This was caused by my fix for bug 336552. It looks like I'll have to do the escaping of special characters on the client side.