掲示板
Create Custom Portlet that Searches a specific Journal Article Structure
7年前 に Saren Calvert によって更新されました。
Create Custom Portlet that Searches a specific Journal Article Structure
New Member 投稿: 4 参加年月日: 15/02/23 最新の投稿
Hi All,
We would like to create a custom portlet that uses Liferay's search API to search a specific Journal Article Structure. In other words we want to limit the search results to the Journal Articles that use a specific structure.
Is this possible?
Thanks!
We would like to create a custom portlet that uses Liferay's search API to search a specific Journal Article Structure. In other words we want to limit the search results to the Journal Articles that use a specific structure.
Is this possible?
Thanks!
7年前 に Saren Calvert によって更新されました。
RE: Create Custom Portlet that Searches a specific Journal Article Structur
New Member 投稿: 4 参加年月日: 15/02/23 最新の投稿
I assume we would want to use the search method using the SearchEngineUtil Class.
Within that method we could add a facet to SearchContext but in the facet interface I don't see anything about setting a structure. There is a setFieldName method that perhaps could be used?
Any comments to get us on the right track would be much appreciated!
Within that method we could add a facet to SearchContext but in the facet interface I don't see anything about setting a structure. There is a setFieldName method that perhaps could be used?
Any comments to get us on the right track would be much appreciated!