Ticket #675 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

[M] Limit-by not picking up expected records

Reported by: selatham Owned by: selatham
Priority: critical Milestone: Replace Metadata Gateway
Component: discovery Version:
Keywords: WS-Discovery2 MDIP Cc:

Description (last modified by selatham) (diff)

If I limit by NERC data centres I now expect to pick up NEODC, BGS and BODC records. However, it only picks up NEODC records.

See attached examples of the discovery-moles. Note BGS keyword of NERC_DDC was post-added to discovery-moles (just now). NEODC and BODC keywords were generated by DIF-to-moles (just now). They are somewhat different and I think the post-added BGS record is more correct! see ticket #673.

Attachments

bgs.nerc.ac.uk__DIF__AERIAL_INDEX.xml Download (28.0 KB) - added by selatham 12 years ago.
neodc.nerc.ac.uk__DIF__NEODC_ARSF_ATM_AZ16.xml Download (93.4 KB) - added by selatham 12 years ago.
neodc discovery-moles
grid.bodc.nerc.ac.uk__DIF__EDMED1048001.xml Download (131.3 KB) - added by selatham 12 years ago.

Change History

Changed 12 years ago by selatham

Changed 12 years ago by selatham

neodc discovery-moles

Changed 12 years ago by selatham

comment:1 Changed 12 years ago by selatham

  • Description modified (diff)

comment:2 Changed 12 years ago by ko23

Please note that I can only move over to MOLES keywords that are there. As regards "more correct", please see closure comments for #673

comment:3 Changed 12 years ago by lawrence

  • Priority changed from blocker to critical
  • Type changed from task to defect

comment:4 Changed 12 years ago by mpritcha

  • Owner changed from mpritcha to lawrence

Portal should formulate web service call with scope="NERC_DDC" not "NERC"

comment:5 Changed 12 years ago by lawrence

  • Owner changed from lawrence to selatham

Portal uses NERC_DDC, currently returns 85 records for NERC. Sue, if that's what you expect, please close ticket.

comment:6 Changed 12 years ago by mpritcha

If I do a search on "*", fullText, scope="NERC_DDC" using the web service directly, I get 86 hits, so this corresponds with Bryan's obs now (+/- 1).

Wider question : if things are labelled "NERC_DDC", should they also be labelled "NERC"?

comment:7 Changed 12 years ago by ko23

Quick solution that works is yes, the applicable terms should be there.

Also, this will be more robust in that it puts less pressure to have all application code understand that "if it's got NERC_DDC, then it implicitly has NERC, but not necessarily MDIP, unless it's a Wednesday or there's been a policy change..."

Repeat after me: "explicit good; implicit bad" ;-D

comment:8 Changed 12 years ago by selatham

  • Status changed from new to closed
  • Resolution set to fixed

Yes I get 86 as per Matt but through the GUI. This is what I would expect. Closing ticket.

Note: See TracTickets for help on using tickets.