The search by keyword works fine - if a field is not
found nothing is returned, if it is the matching docs
are returned.
The issue appears to be when a keyword search is made
with information that is in the schema...?
For example a search with 'plasmid' returns all the
genome reports even though only 1 refers to a
plasmid...
likewise with pyrosequencing which is an enumeration
also noticed, for a future feature that partial
matching would be useful (e.g. tried 'pyro' and found
nothing but pyrosequencing found them all)
Logged In: YES
user_id=1384614
Reason for this behaviour is that the XML instance includes
the text from the documentation element in the XML schema,
as an attribute, e.g.
<element help='text from the documentation element'>
If the keyword is included in a documentation element in the
XML schema, then a keyword search will return all records
that include the element with the documentation element
containing the keyword.
Resolution:
-- remove help and id attributes from xml instances
-- do not search xml instance attributes
There is a feature request open at the moment to remove the
help and id attribute, so that the xml instances can
validate against the xml schema - as such, I think this is
the preferred resolution
Logged In: YES
user_id=1501392
yes, this will fix it, thanks!
Logged In: YES
user_id=1384614
further to explanation for behaviour, bug report closed and
feature request opened for this item.
also page added to gsc wiki to further define functional
requirements for search page
http://darwin.nerc-oxford.ac.uk/gc_wiki/index.php/Search_Function