AnsweredAssumed Answered

Lucene search to a long field with wild characters

Question asked by edx_i on May 19, 2010
Hi,

I have  a custom model with a property 'myNumber' of type d:long. I save nodes with 'myNumber' as 10,13,16,1040 and 1296.

In alfresco's node browser I execute a few lucene searches:

"@\{com.company\}myNumber:"10"
returns the node with myNumber 10.

"@\{com.company\}myNumber:"*10*"
returns nodes with myNumber 16,1040 and 1296

"@\{com.company\}myNumber:"10*" and
"@\{com.company\}myNumber:"*10"
return no results.


Is this to be expected? How to return just the nodes with myNumber 10 and 1040?

Outcomes