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? |
7 answers
Is this an API only issue? Are you able to search for XML artifacts from the RAM search page?
|
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? |
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.
|
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? |
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. |
Posted, WI 41397, hope to hear from some one soon!
|
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!!
|
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.