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

Ambiguity in the search Asset result in RAM.

We are using REST API’s in our application in order to get the desired result from RAM. In order to search for an asset in RAM, the result it is giving is ambiguous, here are some scenarios:

There is an Asset with Asset name “vvvvvvvvvvvvvvvvvvvvv1” in
Community “Test_Community” with
Asset type as “Test_AssetType” and
State as “submitted”

After applying all these three filters (Community  as “Test_Community”, Asset type as “Test_AssetType” & State as “Submitted”)for the search, in the result list this Asset (vvvvvvvvvvvvvvvvvvvvv1) is displayed among all other Assets fulfilling same filter criteria. But now when I search with giving the search string as:

·         Case 1

1.       Search String: “v”
Search Query: ramSearch:(1txt%2Cv%24fGroup%2C test_community %24ftype%2C test_assettype %24fState%2Csubmitted)
Result: “No results were found for your search.”

2.       Search String: “vvv”
Search Query: ramSearch:(1txt%2Cvvv%24fGroup%2C test_community %24ftype%2C test_assettype %24fState%2Csubmitted)
Result: “No results were found for your search.”

3.       Search String: “vvvvvvvv”
Search Query: ramSearch:(1txt%2Cvvvvvvvv%24fGroup%2C test_community %24ftype%2C test_assettype %24fState%2Csubmitted)
Result: “No results were found for your search.”

4.       Search String: “vvvvvvvvv”
Search Query: ramSearch:(1txt%2Cvvvvvvvvv%24fGroup%2C test_community %24ftype%2C test_assettype %24fState%2Csubmitted)
Result: its showing the desired Asset (vvvvvvvvvvvvvvvvvvvvv1) in the resultant list.

5.       Search String: “vvvvvvvvvvvvvvv”
Search Query: ramSearch:(1txt%2Cvvvvvvvvvvvvvvv%24fGroup%2C test_community %24ftype%2C test_assettype %24fState%2Csubmitted)
Result: its showing the desired Asset (vvvvvvvvvvvvvvvvvvvvv1) in the resultant list.

6.       Search String: “vvvvvvvvvvvvvvvvvvvvv”
Search Query: ramSearch:(1txt%2Cvvvvvvvvvvvvvvvvvvvvv%24fGroup%2C test_community %24ftype%2C test_assettype %24fState%2Csubmitted)
Result: its showing the desired Asset (vvvvvvvvvvvvvvvvvvvvv1) in the resultant list.

7.       Search String: “vvvvvvvvvvvvvvvvvvvvv1”
Search Query: ramSearch:(1txt%2Cvvvvvvvvvvvvvvvvvvvvv1%24fGroup%2C test_community %24ftype%2C test_assettype %24fState%2Csubmitted)
Result: its showing the desired Asset (vvvvvvvvvvvvvvvvvvvvv1) in the resultant list.


·         Case 2 : Under same community, Asset type & State, there are some other Assets (VAV1, vav4 & vav6). So after applying all the above filters and again trying to search for the asset via search string, giving search result like this:

1.       Search String: “v”
Search Query: ramSearch:(1txt%2Cv%24fGroup%2C test_community %24ftype%2C test_assettype %24fState%2Csubmitted)
Result: “No results were found for your search.”

2.       Search String: “vav”
Search Query: ramSearch:(1txt%2Cvav%24fGroup%2C test_community %24ftype%2C test_assettype %24fState%2Csubmitted)
Result: It is showing the Asset list (VAV1, vav4 & vav6) in the resultant list.

3.       Search String: “vav4”
Search Query: ramSearch:(1txt%2Cvav4%24fGroup%2C test_community %24ftype%2C test_assettype %24fState%2Csubmitted)
Result: It is showing the Asset list (VAV1, vav4 & vav6) in the resultant list.

4.       Search String: “vav6”
Search Query: ramSearch:(1txt%2Cvav6%24fGroup%2C test_community %24ftype%2C test_assettype %24fState%2Csubmitted)
Result: It is showing the Asset list (VAV1, vav4 & vav6) in the resultant list.

5.       Search String: “VAV1”
Search Query: ramSearch:(1txt%2CVAV1%24fGroup%2C test_community %24ftype%2C test_assettype %24fState%2Csubmitted)
Result: It is showing the Asset list (VAV1, vav4 & vav6) in the resultant list.

And so on…

I am not able to understand the different result for different scenarios, they all are quite confusing. Can anyone provide any help as why all these results are like this?
And is there any other Search Query String which can be used to fetch the search result from RAM?

0 votes



One answer

Permanent link
Note that the free form text search looks at various aspects of the asset.  Name/Description is part of it, but it also includes related asset (their name/version), tags, attributes etc.

for the “vvvvvvvvv”which results in something, ... it seems like it found it in the meta for that asset.  Note also, that the search is working by first tokenizing the text, and then indexing the tokens.  So “vvvvvvvvv,foo” will be tokenized as “vvvvvvvvv” and "foo" since a comma is considered as a "special character" that separates them..

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: Mar 08 '13, 4:46 a.m.

Question was seen: 4,680 times

Last updated: Apr 01 '13, 12:13 p.m.

Confirmation Cancel Confirm