Fórum
Search does not work for Knowledge base articles
Peter Hellstrand, modificado 11 Anos atrás.
Search does not work for Knowledge base articles
Regular Member Postagens: 166 Data de Entrada: 30/11/11 Postagens Recentes
Users are found. I tried to tag the article.
Must something be configured?
Thanks
Must something be configured?
Thanks
Yogesh Agrawal, modificado 11 Anos atrás.
RE: Search does not work for Knowledge base articles
Junior Member Postagens: 34 Data de Entrada: 17/05/10 Postagens Recentes
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, modificado 11 Anos atrás.
RE: Search does not work for Knowledge base articles
Regular Member Postagens: 166 Data de Entrada: 30/11/11 Postagens Recentes
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, modificado 11 Anos atrás.
RE: Search does not work for Knowledge base articles
Junior Member Postagens: 34 Data de Entrada: 17/05/10 Postagens Recentes
Search portlet Configuration > Advanced
here you can add knowledgebase model entry in JSON.
here you can add knowledgebase model entry in JSON.
Peter Hellstrand, modificado 11 Anos atrás.
RE: Search does not work for Knowledge base articles
Regular Member Postagens: 166 Data de Entrada: 30/11/11 Postagens Recentes
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, modificado 11 Anos atrás.
RE: Search does not work for Knowledge base articles
Junior Member Postagens: 34 Data de Entrada: 17/05/10 Postagens Recentes
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, modificado 11 Anos atrás.
RE: Search does not work for Knowledge base articles
Regular Member Postagens: 166 Data de Entrada: 30/11/11 Postagens Recentes
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, modificado 11 Anos atrás.
RE: Search does not work for Knowledge base articles
Junior Member Postagens: 34 Data de Entrada: 17/05/10 Postagens Recentes
http://www.liferay.com/web/raymond.auge/blog/-/blogs/11180056
This link is also helpful.
This link is also helpful.
Peter Hellstrand, modificado 11 Anos atrás.
RE: Search does not work for Knowledge base articles
Regular Member Postagens: 166 Data de Entrada: 30/11/11 Postagens Recentes
I am still stuck on this one. That json does not search knowledge base articles.
Skulled Filed, modificado 11 Anos atrás.
RE: Search does not work for Knowledge base articles
New Member Postagens: 13 Data de Entrada: 22/03/11 Postagens Recentes
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, modificado 11 Anos atrás.
RE: Search does not work for Knowledge base articles
New Member Mensagem: 1 Data de Entrada: 31/10/12 Postagens Recentes
This works fine for me Thank you!!