List of recent changes in API and data of ContentHub
The following changes have been implemented in the ContentHub recently (sorted by date in descending order):
JSONv1
format
is supported. Service description is here Notification APIvisible
set to false (aka invisible documents) will now
be hidden from search results by default. This behavior can be circumvented by incorporating
explicitly a search-constraint for the field visible
.
For instance: visible:false
or visible:(true OR false)
fingerprint
and idesk.rootId
as search constraints.GET /bulk/{application_id}/fingerprints
) will now render
the id of the latest successfully ingested archive in the first line of the CSV response.GET /content/v1/retrieval
, GET /content/v1/retrieval/meta
,
GET /content/v1/retrieval/baseline
, GET /content/v1/retrieval/compount/{part}
) now
accept the URL-parameters highlightingQuery
and if applicable highlightingFields
.
When given words hit by the highlightingQuery
will be wrapped with highlight-elements.count:5,location:(title(count:1),baselineContent)
at maximum one snippet will be generated from the title.chb:preview
is not provided by the content producer, it will be automatically generated
during the Single Doc Ingest out of the chb:baselineContent
element (first 500 characters).
In this case the autogenerated
attribute from the preview element will be set to true
.<hot.sold_out>
is now available and can be used as a constraint in search queries.numberOfTokens
parameter, which is equivalent to the maximum number of tokens
(typically words) per matching node that surround the highlighted term(s) in the snippet.<hot:parent_category_id>
was introduced for HOT. This is the ID of the parent category which is
no longer stored under a second <hot:category_id>
element (like described bellow).<hot:category_id>
elements, one is the ID of the parent category and the other one
is the ID of the subcategory.<ch:creator>
element in HOT (Haufe Online Training) data.
Implemented the new element <hot:author>
having the attributes title
, forename
and surname
.