-
Notifications
You must be signed in to change notification settings - Fork 2
Article Search
Version: 3.3.0
Lists articles from OC and live updates using QS (part of LCC)
in your dashboard go to > plugins > install plugin >
https://plugins-prod.s3.amazonaws.com/se-infomaker-writerstartpage-lcc/{{VERSION}}
https://plugins-stage.s3.amazonaws.com/se-infomaker-writerstartpage-lcc/{{VERSION}}
- Display slugline under the headline in article card from config.
The plugin needs to be configured with LCC, ICP and Writer endpoints, and providers.
- go to Plugins > Article Search Plugin > settings
- add your own config inside the configEditor field
{
...
"propertiesToFetch": {
...
"ConceptRelations.ConceptAvatarRelation.uuid"
...
},
"propertiesFilter": {
{
"property" : "ConceptRelations",
"q" : "ConceptImType:channel"
}
}
...
}
In the configuration there is possibility to add a 'weight' on a suggest-property. The list is sorted descending, high -> low
{
...
"suggestOrder": {
"Products": 10,
"Channels": 5,
"Subjects": 3
},
...
}
{
...
"autoSearch": true
...
}
{
...
"sorting": {
"field": "YOUR_SORT_PROPERTY_FIELD", // or remove sorting object to get the default 'updated'
"ascending": false
},
...
}
{
...
"resultsPerPage": 10,
...
}
{
...
"defaultQuery": "*:*",
...
}
{
...
"filterQuery": "contenttype:Article",
...
}
Article Search plugin requires that some properties are configured in OpenContent.
Note: There should also be a property with an updated
value. We are currently using the default OC property called updated
- name: Authors
type: TEXT
multivalued: true
sortable: false
readonly: false
suggest: true
- name: Headline
type: TEXT
multivalued: false
sortable: false
readonly: false
suggest: false
- name: ImageFilenames
type: STRING
multivalued: true
sortable: false
readonly: false
suggest: false
description: Added to support app config.
- name: ImageUuids
type: STRING
multivalued: true
sortable: false
readonly: false
suggest: false
- name: NewsPrio
type: INTEGER
multivalued: false
sortable: true
readonly: false
suggest: false
- name: NewsPrioLifetime
type: STRING
multivalued: false
sortable: false
readonly: false
suggest: false
- name: PubStart
type: DATE
multivalued: false
sortable: true
readonly: false
suggest: false
description: Added to support app config.
- name: PubStatus
type: STRING
multivalued: false
sortable: false
readonly: false
suggest: true
description: Added to support app config.
- name: Services
type: STRING
multivalued: true
sortable: false
readonly: false
suggest: true
description: The NewsML "service" element to define for example siteContext or Product
- name: Text
type: TEXT
multivalued: true
sortable: false
readonly: false
suggest: false
Currently the Article Search uses the updated field to make sorting, so this MUST be present
sorting:
- name: Updated
indexfields:
- name: updated
ascending: false
- name: Updated
contenttype: Article