Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357109 - Search with Name: not working
Summary: Search with Name: not working
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Server (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: 0.3 M2   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-08 11:29 EDT by Mark Macdonald CLA
Modified: 2011-09-12 15:09 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.