NCEAS / metacat

Data repository software that helps researchers preserve, share, and discover data
https://knb.ecoinformatics.org/software/metacat
GNU General Public License v2.0
27 stars 13 forks source link

Add fields used in Morpho search to the default indexPaths property #486

Closed mbjones closed 6 years ago

mbjones commented 6 years ago

Author Name: ben leinfelder (ben leinfelder) Original Redmine Issue: 3259, https://projects.ecoinformatics.org/ecoinfo/issues/3259 Original Date: 2008-04-30 Original Assignee: ben leinfelder


Compound searches issued from Metacat (with "combine constraints from all tabs") uses certain EML elements in the pathquery that are not exactly included in the default metacat indexPaths list (in build.properties). We should ensure that those match so that searching within Morpho is optimized like it is on the web.

mbjones commented 6 years ago

Original Redmine Comment Author Name: ben leinfelder (ben leinfelder) Original Date: 2008-04-30T22:22:05Z


here is a sample of the pathquery generated in Morpho

<?xml version="1.0"?>

true false Untitled-Search-5 -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN -//ecoinformatics.org//eml-dataset-2.0.0beta6//EN -//NCEAS//eml-dataset-2.0//EN -//NCEAS//resource//EN eml://ecoinformatics.org/eml-2.0.0 eml://ecoinformatics.org/eml-2.0.1 edml://ecoinformatics.org/edml http://www.imsglobal.org/xsd/ims_qtiasiv1p2 dataset/title individualName/surName keyword entityName tuber title tuber abstract tuber keyword Species taxonomicClassification/taxonRankName tuber taxonomicClassification/taxonRankValue -14.0 northBoundingCoordinate -39.0 northBoundingCoordinate 52.0 westBoundingCoordinate 0.0 westBoundingCoordinate
mbjones commented 6 years ago

Original Redmine Comment Author Name: ben leinfelder (ben leinfelder) Original Date: 2008-04-30T22:32:47Z


Paths to add: taxonomicClassification/taxonRankValue taxonomicClassification/taxonRankName northBoundingCoordinate southBoundingCoordinate westBoundingCoordinate eastBoundingCoordinate

Note that the taxon paths are in the list already (but with no parent element), and the spatial paths are in there (but with parent paths). We could edit the existing index paths instead of adding these, but that might slow down other queries that are using the existing entries in the indexPaths property. I vote for adding the above values if it is not overly costly for metacat to index these additional fields.

mbjones commented 6 years ago

Original Redmine Comment Author Name: ben leinfelder (ben leinfelder) Original Date: 2008-05-19T16:34:19Z


these have been added to the build.properties file in the 1.8.1 branch

mbjones commented 6 years ago

Original Redmine Comment Author Name: Redmine Admin (Redmine Admin) Original Date: 2013-03-27T21:22:49Z


Original Bugzilla ID was 3259