AnsweredAssumed Answered

Search invalid when I try to search a file that filename begins with a number

Question asked by kaven on Jul 1, 2015
Latest reply on Jul 3, 2015 by kaven
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:
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!

Outcomes