It's all about the answers!

Ask a question

Why search result is incorrect?


Dan Xia (3172) | asked May 14 '10, 3:04 a.m.
I need to do some attribute query in ram, such as "attributeName:(App. Type) attributeValue:(Package - SAP)". But the result is incorrect, the asset whose App. Type value is 'Package - Oracle' returned in search result. Anybody met this before? Why this happens? I guess it is caused by special characters in value field, but not sure.

One answer



permanent link
Gili Mendel (1.8k56) | answered May 14 '10, 8:01 a.m.
JAZZ DEVELOPER
The "-" is a special Lucene character, see http://lucene.apache.org/java/2_4_0/queryparsersyntax.html#-

Did you try Package \- SAP

Your answer


Register or to post your answer.