Forums de discussion
Search does not work for Knowledge base articles
Peter Hellstrand, modifié il y a 11 années.
Search does not work for Knowledge base articles
Regular Member Publications: 166 Date d'inscription: 30/11/11 Publications récentes
Users are found. I tried to tag the article.
Must something be configured?
Thanks
Must something be configured?
Thanks
Yogesh Agrawal, modifié il y a 11 années.
RE: Search does not work for Knowledge base articles
Junior Member Publications: 34 Date d'inscription: 17/05/10 Publications récentes
Configure search portlet to search for knowledge base articles.
Add an entry to search for knowledgebase article model
Add an entry to search for knowledgebase article model
Peter Hellstrand, modifié il y a 11 années.
RE: Search does not work for Knowledge base articles
Regular Member Publications: 166 Date d'inscription: 30/11/11 Publications récentes
How can I do this?
wrench -> configuration have nothing that looks like this. Where do you configure this. Some more information please.
wrench -> configuration have nothing that looks like this. Where do you configure this. Some more information please.
Yogesh Agrawal, modifié il y a 11 années.
RE: Search does not work for Knowledge base articles
Junior Member Publications: 34 Date d'inscription: 17/05/10 Publications récentes
Search portlet Configuration > Advanced
here you can add knowledgebase model entry in JSON.
here you can add knowledgebase model entry in JSON.
Peter Hellstrand, modifié il y a 11 années.
RE: Search does not work for Knowledge base articles
Regular Member Publications: 166 Date d'inscription: 30/11/11 Publications récentes
What is "model entry in JSON"?
I am using the $getSearchPortlet in my velocity. How can i configure this(no wrench).
Thanks your time.
I am using the $getSearchPortlet in my velocity. How can i configure this(no wrench).
Thanks your time.
Yogesh Agrawal, modifié il y a 11 années.
RE: Search does not work for Knowledge base articles
Junior Member Publications: 34 Date d'inscription: 17/05/10 Publications récentes
In search portlet Configuration> Advanced, modify like this
Configuration icon should be there, did you disabled this ?
{"facets": [
{
"displayStyle": "asset_entries",
"weight": 1.5,
"static": false,
"order": "OrderHitsDesc",
"data": {
"values": [
"com.liferay.portlet.bookmarks.model.BookmarksEntry",
"com.liferay.portlet.blogs.model.BlogsEntry",
"com.liferay.portlet.calendar.model.CalEvent",
"com.liferay.portlet.documentlibrary.model.DLFileEntry",
"com.liferay.portlet.journal.model.JournalArticle",
"com.liferay.portlet.messageboards.model.MBMessage",
"com.liferay.portlet.wiki.model.WikiPage",
"com.liferay.portal.model.User",
"com.liferay.knowledgebase.model.Article"
],
"frequencyThreshold": 1
},
"label": "asset-type",
"className": "com.liferay.portal.kernel.search.facet.AssetEntriesFacet",
"fieldName": "entryClassName"
},
{
"displayStyle": "asset_tags",
"weight": 1.4,
"static": false,
"order": "OrderHitsDesc",
"data": {
"maxTerms": 10,
"displayStyle": "list",
"frequencyThreshold": 1,
"showAssetCount": true
},
"label": "tag",
"className": "com.liferay.portal.kernel.search.facet.MultiValueFacet",
"fieldName": "assetTagNames"
},
{
"displayStyle": "asset_tags",
"weight": 1.3,
"static": false,
"order": "OrderHitsDesc",
"data": {
"maxTerms": 10,
"displayStyle": "list",
"frequencyThreshold": 1,
"showAssetCount": true
},
"label": "category",
"className": "com.liferay.portal.kernel.search.facet.MultiValueFacet",
"fieldName": "assetCategoryNames"
},
{
"displayStyle": "modified",
"weight": 1.1,
"static": false,
"order": "OrderHitsDesc",
"data": {
"ranges": [
{
"range": "[past-hour TO *]",
"label": "past-hour"
},
{
"range": "[past-24-hours TO *]",
"label": "past-24-hours"
},
{
"range": "[past-week TO *]",
"label": "past-week"
},
{
"range": "[past-month TO *]",
"label": "past-month"
},
{
"range": "[past-year TO *]",
"label": "past-year"
}
],
"frequencyThreshold": 0
},
"label": "modified",
"className": "com.liferay.portal.kernel.search.facet.ModifiedFacet",
"fieldName": "modified"
}
]}
Configuration icon should be there, did you disabled this ?
Peter Hellstrand, modifié il y a 11 années.
RE: Search does not work for Knowledge base articles
Regular Member Publications: 166 Date d'inscription: 30/11/11 Publications récentes
Thank you
No i did not disable it.
I am getting my search portlet this way in my custom theme.
$theme.journalContentSearch()
edit: found this link. Gonna give it a try.
http://blog.algoworks.com/archives/tag/add-search-in-liferay-theme-header
No i did not disable it.
I am getting my search portlet this way in my custom theme.
$theme.journalContentSearch()
edit: found this link. Gonna give it a try.
http://blog.algoworks.com/archives/tag/add-search-in-liferay-theme-header
Yogesh Agrawal, modifié il y a 11 années.
RE: Search does not work for Knowledge base articles
Junior Member Publications: 34 Date d'inscription: 17/05/10 Publications récentes
http://www.liferay.com/web/raymond.auge/blog/-/blogs/11180056
This link is also helpful.
This link is also helpful.
Peter Hellstrand, modifié il y a 11 années.
RE: Search does not work for Knowledge base articles
Regular Member Publications: 166 Date d'inscription: 30/11/11 Publications récentes
I am still stuck on this one. That json does not search knowledge base articles.
Skulled Filed, modifié il y a 11 années.
RE: Search does not work for Knowledge base articles
New Member Publications: 13 Date d'inscription: 22/03/11 Publications récentes
Look http://www.liferay.com/community/forums/-/message_boards/message/14859319
Try to put in search configuration: "com.liferay.knowledgebase.model.KBArticle"
instead
"com.liferay.knowledgebase.model.Article "
Try to put in search configuration: "com.liferay.knowledgebase.model.KBArticle"
instead
"com.liferay.knowledgebase.model.Article "
Antonio Benítez, modifié il y a 11 années.
RE: Search does not work for Knowledge base articles
New Member Envoyer: 1 Date d'inscription: 31/10/12 Publications récentes
This works fine for me Thank you!!