Search invalid when I try to search a file that filename begins with a number
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2015 04:53 AM
Hello,
I am developing a dashlet on share that can search for FONT files and return with a preview image and nessesary properties of this file.
The problem is when I use FTS search for filename with keywords,if the target filename begins with a number,then the results get nothing.But if the filename does not begin with a number,it works fine and return the results I want.
Can anybody give me clue?
here's an example of my query:
this works fine and return my target file:a104050.ttf.
this does not work,but I am sure there is a 123a056b.ttf file under the folder.
The attachments are screenshots of my dashlet,may give you some info about what Im trying to do.
Thank you!
I am developing a dashlet on share that can search for FONT files and return with a preview image and nessesary properties of this file.
The problem is when I use FTS search for filename with keywords,if the target filename begins with a number,then the results get nothing.But if the filename does not begin with a number,it works fine and return the results I want.
Can anybody give me clue?
here's an example of my query:
PARENT:"workspace://SpacesStore/91992c78-59a1-45d3-8bd5-533c45c75768" AND TYPE:"{http://www.satech.com.au/model/content/1.0}font" AND (@cm\:name:"*a104050*" OR TAG:"a104050" OR @sa\:fontName:"*a104050*")
this works fine and return my target file:a104050.ttf.
PARENT:"workspace://SpacesStore/91992c78-59a1-45d3-8bd5-533c45c75768" AND TYPE:"{http://www.satech.com.au/model/content/1.0}font" AND (@cm\:name:"*123a056b*" OR TAG:"123a056b" OR @sa\:fontName:"*123a056b*")
this does not work,but I am sure there is a 123a056b.ttf file under the folder.
The attachments are screenshots of my dashlet,may give you some info about what Im trying to do.
Thank you!
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2015 04:13 AM
Anybody?please,please,please?
