| Summary: | Searching HTML5 filesystem doesn't show the "No results" message | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Mark Macdonald <mamacdon> | ||||
| Component: | Client | Assignee: | libing wang <libingw> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | libingw, mamacdon | ||||
| Version: | 3.0 | Flags: | mamacdon:
review+
|
||||
| Target Milestone: | 4.0 RC2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 236419 [details]
patch file
I fixed the showing no result issue but for the Orion server's file sys issue I will open a new one. BTW I found another bug -- bug 419289 while verifying the fix |
1. Install HTML5 local file system, and open a file on it. 2. Press Ctrl+Shift+F to bring up Find Files dialog 3. Search for a filename that has 0 hits 4. The dialog shows nothing. I expected to see a "No results found" message. I don't know if this is a general problem with crawling alternative filesystems, or specific to the HTML5Local FS. I tried it with another Orion server's filesystem but it tried to use the Solr search, which blew up: > GET https://orion.eclipse.org/filesearch?sort=NameLower%20asc&rows=100&start=0&q=NameLower:b*+Location:https://orion.eclipse.org/file* 500 (org.apache.solr.client.solrj.SolrServerException: org.apache.solr.common.SolrException: org.apache.lucene.queryParser.ParseException: Cannot parse 'Location:https://orion.eclipse.org/file*': Encountered " ":" ": "" at line 1, column 14. Was expecting one of: <EOF> <AND> ... <OR> ... <NOT> ... "+" ... "-" ... "(" ... "*" ... "^" ... <QUOTED> ... <TERM> ... <FUZZY_SLOP> ... <PREFIXTERM> ... <WILDTERM> ... "[" ... "{" ... <NUMBER> ...) Probably because it wasn't expecting a fully qualified URL in the 'Location:' field. Argh