掲示板
Search does not work for Knowledge base articles
11年前 に Peter Hellstrand によって更新されました。
Search does not work for Knowledge base articles
Regular Member 投稿: 166 参加年月日: 11/11/30 最新の投稿
Users are found. I tried to tag the article.
Must something be configured?
Thanks
Must something be configured?
Thanks
11年前 に Yogesh Agrawal によって更新されました。
RE: Search does not work for Knowledge base articles
Junior Member 投稿: 34 参加年月日: 10/05/17 最新の投稿
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
11年前 に Peter Hellstrand によって更新されました。
RE: Search does not work for Knowledge base articles
Regular Member 投稿: 166 参加年月日: 11/11/30 最新の投稿
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.
11年前 に Yogesh Agrawal によって更新されました。
RE: Search does not work for Knowledge base articles
Junior Member 投稿: 34 参加年月日: 10/05/17 最新の投稿
Search portlet Configuration > Advanced
here you can add knowledgebase model entry in JSON.
here you can add knowledgebase model entry in JSON.
11年前 に Peter Hellstrand によって更新されました。
RE: Search does not work for Knowledge base articles
Regular Member 投稿: 166 参加年月日: 11/11/30 最新の投稿
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.
11年前 に Yogesh Agrawal によって更新されました。
RE: Search does not work for Knowledge base articles
Junior Member 投稿: 34 参加年月日: 10/05/17 最新の投稿
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 ?
11年前 に Peter Hellstrand によって更新されました。
RE: Search does not work for Knowledge base articles
Regular Member 投稿: 166 参加年月日: 11/11/30 最新の投稿
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
11年前 に Yogesh Agrawal によって更新されました。
RE: Search does not work for Knowledge base articles
Junior Member 投稿: 34 参加年月日: 10/05/17 最新の投稿
http://www.liferay.com/web/raymond.auge/blog/-/blogs/11180056
This link is also helpful.
This link is also helpful.
11年前 に Peter Hellstrand によって更新されました。
RE: Search does not work for Knowledge base articles
Regular Member 投稿: 166 参加年月日: 11/11/30 最新の投稿
I am still stuck on this one. That json does not search knowledge base articles.
11年前 に Skulled Filed によって更新されました。
RE: Search does not work for Knowledge base articles
New Member 投稿: 13 参加年月日: 11/03/22 最新の投稿
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 "
11年前 に Antonio Benítez によって更新されました。
RE: Search does not work for Knowledge base articles
New Member 投稿: 1 参加年月日: 12/10/31 最新の投稿
This works fine for me Thank you!!