Project

General

Profile

Bug #6405

Example queries in documentation contain syntax errors and incorrect field names

Added by Peter Slaughter about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Category:
d1_log_aggregation
Target version:
Start date:
2014-09-25
Due date:
2014-09-25
% Done:

100%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

Some of the SOLR query examples in event index design documents contain syntax errors and incorrect field names.
The affected documents are:
http://mule1.dataone.org/ArchitectureDocs-current/design/LogAggregator.html and http://mule1.dataone.org/ArchitectureDocs-current/design/UsageStatistics.html

The correct endpoint for the logsolr service is 'https://cn.dataone.org/cn/v1/query/logsolr', not 'https://cn.dataone.org/cn/v1/query/logsolr'. The latter endpoint
causes the v1 'log' service to handle the request.

Some of the queries use incorrect field names, such as 'datetime' instead of 'dateLogged'. Some of the field queries use the wildcard character '' at the beginning of the
search term (e.g. &fq=*eml
, which causes a syntax error.

Also, some of the queries select or facet on protected fields, e.g. 'subject' and it should be clearly indicated that queries using protected fields are subject to filtering according
to the DataONE authentication mechanism. This is alluded to in the 'Event Log Index' table in UsageStatistics.html and mentioned elsewhere in this document, but maybe needs
to be mentioned in the examples also.

History

#1 Updated by Peter Slaughter about 10 years ago

  • Assignee set to Peter Slaughter

#2 Updated by Dave Vieglais about 10 years ago

  • Due date set to 2014-09-25
  • Target version set to Maintenance Backlog
  • Start date set to 2014-09-25

#3 Updated by Peter Slaughter about 10 years ago

  • Status changed from New to Closed

Edited versions of architecture/api-documentation/source/design/LogAggregator.txt and UsageStatistics.txt checked into trunk

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)