| Summary: | Not indexing multiple projects with same file system location | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Mark Macdonald <mamacdon> |
| Component: | Server | Assignee: | 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: | |||
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. We are no longer using Apache Solr on the Orion server for search. |
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.