Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

0 votes



One answer

Permanent link
The "-" is a special Lucene character, see http://lucene.apache.org/java/2_4_0/queryparsersyntax.html#-

Did you try Package \- SAP

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 14 '10, 3:04 a.m.

Question was seen: 6,079 times

Last updated: May 14 '10, 3:04 a.m.

Confirmation Cancel Confirm