Hi,
I designed a customized schema plugin based on ISO19139 due to our organization requirement. All new schema packages and new attributes are working properly.
Following is the sample XML data of schema.
<?xml version="1.0" encoding="UTF-8"?>
<gmd:MD_Metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:srv="http://www.isotc211.org/2005/srv" xsi:schemaLocation="http://www.isotc211.org/2005/gmd/gmd\.xsd http://www.opengis.net/gml/gml\.xsd">
<gmd:fileIdentifier>
<gco:CharacterString>praveshrai</gco:CharacterString>
</gmd:fileIdentifier>
<gmd:language>
<gmd:LanguageCode codeList="http://www.loc.gov/standards/iso639-2/" codeListValue="eng"/>
</gmd:language>
<gmd:AbstractDescribingData>
<gmd:MD_METADATA_IDENTIFY_INFO>
<gco:CharacterString>SOI-OSM Sheet-G 46M/1</gco:CharacterString>
</gmd:MD_METADATA_IDENTIFY_INFO>
<gmd:MD_Data_Identify_abstract>
<gco:CharacterString>The data shows boundary lines sourced from GSI geological map on 1:50,000 scales.The data is in shape file formate.</gco:CharacterString>
</gmd:MD_Data_Identify_abstract>
</gmd:AbstractDescribingData>
<gmd:Citation>
<gmd:Data_Prepared_By>
<gco:CharacterString>Geological Survey of India</gco:CharacterString>
</gmd:Data_Prepared_By>
<gmd:Original_Source>
<gco:CharacterString>1:50K Geological Map</gco:CharacterString>
</gmd:Original_Source>
<gmd:Source_Scale_Date>
<gco:CharacterString>1:50K</gco:CharacterString>
</gmd:Source_Scale_Date>
<gmd:Mapping_Year>
<gco:CharacterString>1982</gco:CharacterString>
</gmd:Mapping_Year>
<gmd:Digitizing_Year>
<gco:CharacterString>2006</gco:CharacterString>
</gmd:Digitizing_Year>
<gmd:survey_year>
<gco:CharacterString>1962</gco:CharacterString>
</gmd:survey_year>
<gmd:Lineage>
<gco:CharacterString> G 46M/1</gco:CharacterString>
</gmd:Lineage>
<gmd:Associated_project_data>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:Associated_project_data>
<gmd:Associated_Publications>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:Associated_Publications>
<gmd:Person_Email>
<gco:CharacterString>hod.ner@anonymised.com</gco:CharacterString>
</gmd:Person_Email>
<gmd:Person_Affiliation>
<gco:CharacterString>Centre Govt.</gco:CharacterString>
</gmd:Person_Affiliation>
<gmd:Corporate_Name>
<gco:CharacterString>Geological Survey of India</gco:CharacterString>
</gmd:Corporate_Name>
<gmd:Corporate_Address>
<gco:CharacterString>Dy. Director General, Geological Survey of India, 'Shylla Building', Nongrim Hills, Shillong, Meghalaya-793003</gco:CharacterString>
</gmd:Corporate_Address>
</gmd:Citation>
<gmd:coverageElement>
<gmd:Coverage>
<gmd:geographicElement>
<gmd:EX_GeographicBoundingBox>
<gmd:xmin>
<gco:Decimal>90.004532</gco:Decimal>
</gmd:xmin>
<gmd:xmax>
<gco:Decimal>90.237898</gco:Decimal>
</gmd:xmax>
<gmd:ymin>
<gco:Decimal>25.779184</gco:Decimal>
</gmd:ymin>
<gmd:ymax>
<gco:Decimal>25.92735</gco:Decimal>
</gmd:ymax>
</gmd:EX_GeographicBoundingBox>
</gmd:geographicElement>
<gmd:tlate>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:tlate>
<gmd:tearly>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:tearly>
<gmd:Place_Name>
<gco:CharacterString>Shillong, Meghalaya</gco:CharacterString>
</gmd:Place_Name>
<gmd:Period_Name>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:Period_Name>
<gmd:spatial_resolution>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:spatial_resolution>
<gmd:spatial_georeference>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:spatial_georeference>
<gmd:spatial_aggregation>
<gco:CharacterString>G 46M/1</gco:CharacterString>
</gmd:spatial_aggregation>
<gmd:temporal_precision>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:temporal_precision>
<gmd:temporal_interval>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:temporal_interval>
<gmd:temporal_aggregation>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:temporal_aggregation>
<gmd:note>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:note>
<gmd:Alternative_Metadata>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:Alternative_Metadata>
</gmd:Coverage>
</gmd:coverageElement>
<gmd:DataIdentificationInformation>
<gmd:id>
<gco:CharacterString>praveshrai</gco:CharacterString>
</gmd:id>
<gmd:Name_of_Dataset>
<gco:CharacterString>Map50K-Dyke</gco:CharacterString>
</gmd:Name_of_Dataset>
<gmd:Name_of_data>
<gco:CharacterString>Map50K-Dyke-1982-G 46M/1</gco:CharacterString>
</gmd:Name_of_data>
<gmd:Theme>
<gco:CharacterString>Geology</gco:CharacterString>
</gmd:Theme>
<gmd:Keywords>
<gco:CharacterString>1:50K, Dyke, GSI</gco:CharacterString>
</gmd:Keywords>
<gmd:Access_Constraints>
<gco:CharacterString>As per GSI Data Dissemination Policy</gco:CharacterString>
</gmd:Access_Constraints>
<gmd:Use_Constraints>
<gco:CharacterString>As per GSI Data Dissemination Policy</gco:CharacterString>
</gmd:Use_Constraints>
<gmd:Purpose_of_creating_Data>
<gco:CharacterString>To generate digital geological database</gco:CharacterString>
</gmd:Purpose_of_creating_Data>
<gmd:Data_Type>
<gco:CharacterString>Vector</gco:CharacterString>
</gmd:Data_Type>
<gmd:Agency_Id>
<gco:CharacterString>2</gco:CharacterString>
</gmd:Agency_Id>
<Agency_Name>
<gco:CharacterString>Geological Survey of India</gco:CharacterString>
</Agency_Name>
</gmd:DataIdentificationInformation>
<gmd:ContactInformation>
<gmd:Contact_Person>
<gco:CharacterString>Director, Geodata Division</gco:CharacterString>
</gmd:Contact_Person>
<gmd:Organization>
<gco:CharacterString>Geological Survey of India</gco:CharacterString>
</gmd:Organization>
<gmd:Mailing_Address>
<gco:CharacterString>Dy. Director General, Geological Survey of India, 'Shylla Building', Nongrim Hills, Shillong, Meghalaya-793003</gco:CharacterString>
</gmd:Mailing_Address>
<gmd:City_locality>
<gco:CharacterString>Shillong, Meghalaya</gco:CharacterString>
</gmd:City_locality>
<gmd:Country>
<gco:CharacterString>India</gco:CharacterString>
</gmd:Country>
<gmd:Contact_Telephone>
<gco:CharacterString>(0364)2520228</gco:CharacterString>
</gmd:Contact_Telephone>
<gmd:Contact_Fax>
<gco:CharacterString>0364-2520033</gco:CharacterString>
</gmd:Contact_Fax>
<gmd:Contact_Email>
<gco:CharacterString>hod.ner@anonymised.com</gco:CharacterString>
</gmd:Contact_Email>
</gmd:ContactInformation>
<gmd:MetadataDateStamp>
<gmd:MD_Metadata_date_Stamp>
<gco:CharacterString>2006</gco:CharacterString>
</gmd:MD_Metadata_date_Stamp>
<gmd:ISO08601>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:ISO08601>
</gmd:MetadataDateStamp>
<gmd:DatasetTopicCategory>
<gmd:MD_METADATA_IDENTIFY_INFO>
<gco:CharacterString>SOI-OSM Sheet-G 46M/1</gco:CharacterString>
</gmd:MD_METADATA_IDENTIFY_INFO>
<gmd:MD_Data_Identify_Category>
<gco:CharacterString>Geoscientific Information</gco:CharacterString>
</gmd:MD_Data_Identify_Category>
</gmd:DatasetTopicCategory>
<gmd:Language>
<gmd:language_ISO0639_2Bsh>
<gco:CharacterString>English</gco:CharacterString>
</gmd:language_ISO0639_2Bsh>
</gmd:Language>
<gmd:ForImageData>
<gmd:Name_of_the_Satellite>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:Name_of_the_Satellite>
<gmd:Sensor>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:Sensor>
<gmd:Path>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:Path>
<gmd:Row_no>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:Row_no>
<gmd:Image_Acquired_From>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:Image_Acquired_From>
<gmd:Date_and_Time_of_Image>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:Date_and_Time_of_Image>
<gmd:File_Format>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:File_Format>
<gmd:Bits_per_Pixel>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:Bits_per_Pixel>
<gmd:Spatial_Resolution>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:Spatial_Resolution>
<gmd:Spatial_Resolution_Unit>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:Spatial_Resolution_Unit>
<gmd:Number_of_Bands>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:Number_of_Bands>
<gmd:Number_of_Rows>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:Number_of_Rows>
<gmd:Number_of_Cols>
<gco:CharacterString>NA</gco:CharacterString>
</gmd:Number_of_Cols>
</gmd:ForImageData>
</gmd:MD_Metadata>
I have following issues to use search functionality-
1- With GN search GUI, I am not able to see Title and abstract fields in search result, because my schema has different fields,
* How to map my customized fields to be displayed metadata search results in GN GUI,I had tried to configure config-csw.xml, config-lucene.xml, index-fields.xml, with following setting-
Config-csw.xml-
<parameter name="NSDITheme" field="Theme" type="SupportedISOQueryables">
<xpath schema="iso19139" path="gmd:DataIdentificationInformation/gmd:Theme/gco:CharacterString"/>
</parameter>
config-lucene.xml- dump field section
<field name="NSDITheme" tagName="Theme"/>
</dumpFields>
Index-fields
<xsl:for-each select="gmd:DataIdentificationInformation/gmd:Theme/gco:CharacterString">
<Field name="NSDITheme" string="{string(.)}" store="true" index="true"/>
</xsl:for-each>
2- On using xml.search and q query search as http://localhost:8080/geonetwork/srv/en/q?fast=index , I am not able to get my schemas' dumped fields configured in config-lucene.xml
Any suggestions and help is highly appreciable.
Thanks and regards
Vimlesh Bahuguna