Why search result is incorrect?
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
The "-" is a special Lucene character, see http://lucene.apache.org/java/2_4_0/queryparsersyntax.html#-
Did you try Package \- SAP |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.