這些樣品個XML我上傳到我的數據庫:連接多個領域成一個單一的領域marklogic
<?xml version="1.0" encoding="UTF-8"?>
<AXFRoot>
<MAObject type="default" mdclass="NEWS_VIDEO" label="News Video">
<ID name="">123456</ID>
<Meta name="MAINTITLE" format="string" label="Title">Clifford Irving hugs his wife Edith after her release from a Nassau jail.</Meta>
<Meta name="SYSTEM_OBJECTOWNER" format="string" label="Owner">DEFAULT</Meta>
\t <Meta name="KEYWORDS" format="string" label="Keywords">clifford-irving edith-irving prisoner-releases 1972-08-18 nassau new-york US nassau-county-jails prisons wifes husbands media, [],</Meta>
</MAObject>
<AXFRoot>
<?xml version="1.0" encoding="UTF-8"?>
<AXFRoot>
<MAObject type="default" mdclass="NEWS_VIDEO" label="News Video">
<ID name="">456123</ID>
<Meta name="MAINTITLE" format="string" label="Title">CAMEL NEWS CARAVAN- SEGMENT 2: US Military women march in Formosa in 1950.</Meta>
<Meta name="SYSTEM_OBJECTOWNER" format="string" label="Owner">DEFAULT</Meta>
\t <Meta name="KEYWORDS" format="string" label="Keywords">Military women-march Formosa-in-1950 United-States-army US</Meta>
</MAObject>
<AXFRoot>
<?xml version="1.0" encoding="UTF-8"?>
<AXFRoot>
<MAObject type="default" mdclass="NEWS_VIDEO" label="News Video">
<ID name="">78946</ID>
<Meta name="MAINTITLE" format="string" label="Title">Commercial US Title</Meta>
<Meta name="SYSTEM_OBJECTOWNER" format="string" label="Owner">DEFAULT</Meta>
\t <Meta name="KEYWORDS" format="string" label="Keywords">commercial 2009 english advertisement movie parts</Meta>
</MAObject>
<AXFRoot>
我想在這裏做的是,當我搜索對於單詞US by search?q = US,我希望查詢結果在JSON中包含所有含有單詞US的地方的數據字段。
例如: 數據:{clifford-irving edith-irving prisoner-releases 1972-08-18納索紐約美國納索縣監獄監獄wifes丈夫媒體,[],CAMEL NEWS卡瓦萬 - 分部2:美國軍事婦女在1950年在福爾摩沙遊行。軍事婦女 - 三月在福爾摩沙在1950年美國陸軍美國商業美國標題}
有沒有辦法在MarkLogic做這樣的查詢?