Showing results for 
Search instead for 
Do you mean 

Add queryable to GIM(Generated item metadata)

by Technical Evangelist ‎08-31-2018 07:35 AM - edited ‎12-11-2019 04:16 PM (265 Views)

User can create custom Gim (Generated item metadata) for business data

For more info about GIM, see Apollo server user guide->Business data in the catalog)



 For example, if use has the following business data 'Test.jpg' and GIM file 'Test.jpg.gim', user can define the following queryable "finalization"




<property name="finalization" type="integer" value="5"/>



here is gim:


<?xml version='1.0' encoding='utf-8' ?>
<item xmlns="" xmlns:xsi="" xsi:schemaLocation="" version="1.0" type="document/txt" identifiedBy="identifier">
<footprint srs="EPSG:4326">POINT (-84.49315667152405 34.259038712339894)</footprint>
<resource-url mimeType="application/jpg">test.jpg</resource-url>
<property name="finalization" type="integer" value="5"/>


Of course user need to enable queryable slot "finalization". For how to setup queryable, see the following KB




Now user can crawl this business data, and Apollo will consume the queryable into catalog:





Below are supported properties type


<xsd:simpleType name="propertyType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="string" />
<xsd:enumeration value="integer" />
<xsd:enumeration value="double" />
<xsd:enumeration value="long" />
<xsd:enumeration value="float" />
<xsd:enumeration value="date" />