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

XML indexing not returning matches

Hi,


Our RAM server is v7.2.0.1 Build...N2009_1211_2001, the ArtifactSearchResult.getMatches() was not returning any result but there indeed has matched result because it work just fine in v7.1.1.1.

We simply create new same assets that we have in v7.1.1.1 to v7.2.0.1, using the same index rules, using the same web client api (of course with v7.2.01 client library) but not getting any result (getMatches() return no string), but it work just fine in v7.1.1.1 (that is getMatches() did return some strings)

Note, did re-run the indexing a few times already, also AssetSearchResult.getMatchingArtifacts() did return some result, the problem is the getMatches() returned 0 result.

Any idea why, or any ifix or patches for this?

0 votes



7 answers

Permanent link
Is this an API only issue? Are you able to search for XML artifacts from the RAM search page?

0 votes


Permanent link
Is this an API only issue? Are you able to search for XML artifacts from the RAM search page?


I don't know. The RAM search page wouldn't show you the xml or xpath matches found., right?

0 votes


Permanent link
The RAM search page will show XML matches. If you select 'Search within artifacts' and then search for XML using the syntax documented at http://publib.boulder.ibm.com/infocenter/ramhelp/v7r2m0/topic/com.ibm.ram.doc/topics/r_search_syntax.html under 'Searching within XML artifacts' you should see a next to some of your results. If you click the it will expand the result to show you the specific match in the XML document.

0 votes


Permanent link
Hi,

Thanks for the info, yes it did show the matches on Web page. Those were the matches strings I was looking for, again in v7.1.1.1, I could get it thru the getMatches() but not in v7.2. Any idea what is the problem here?

0 votes


Permanent link
In that case it seems to be a problem with the API, but we're not aware of any issues. Could you open a defect against RAM here
http://jazz.net/jazz02/web/projects/Rational%20Asset%20Manager#action=com.ibm.team.workitem.viewWelcome
and include both a sample XML document and a screenshot of your indexing rules so that we can reproduce the problem. Thanks.

0 votes


Permanent link
Posted, WI 41397, hope to hear from some one soon!

0 votes


Permanent link
Found out the problem, it seems like the syntax for the attribute has changed in v7.2, in v7.1.1.1, the syntax for an attribute ends with "()" but not in v7.2!!

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: Oct 25 '10, 3:28 p.m.

Question was seen: 5,402 times

Last updated: Oct 25 '10, 3:28 p.m.

Confirmation Cancel Confirm