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

Bug 388761

Summary: Not indexing multiple projects with same file system location
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ServerAssignee: Project Inbox <orion.server-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: ahunter.eclipse, john.arthorne
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2012-09-04 11:40:21 EDT
Using Orion on localhost
1. Find a folder on your local machine that contains .js files.
2. Add the folder to the "orion.file.allowedPaths" server setting.
3. Launch the server
4. Use "Link to Server" to link the folder into your workspace.
5. Use Ctrl+Shift+F to search for a file by name. You get 0 hits 
> No matches found for foo* Location:/file*

It seems that content inside linked folders is never indexed.
Comment 1 John Arthorne CLA 2012-09-04 14:30:06 EDT
I could not reproduce, but debugged on Mark's machine. This is a bit of a corner case. If two users link the same file system location to different workspaces, we only index the file once. We use the file system location as the Id of the index entry, meaning it must be unique. When we get to the second project with the same location, our Indexer#isModified check return false and we don't index it.
Comment 2 Anthony Hunter CLA 2015-01-19 15:23:02 EST
We are no longer using Apache Solr on the Orion server for search.