RE: Content and Page search using search query

thumbnail
Lokesh Sharma, modified 5 Years ago. Junior Member Posts: 54 Join Date: 7/30/15 Recent Posts
Hi,I am using Liferay 7.2 and I need to implement content and page search based on tags using search query .Please guide me how to do that.
thumbnail
Syed Ali, modified 5 Years ago. New Member Posts: 15 Join Date: 5/28/14 Recent Posts
In order to search any content in Liferay, the content must be an asset in Liferay, if you have custom model, you have to convert the model into Liferay asset using asset framework of liferay, you have to define few handler class, indexer class for indexing, searching and showing custom model, if you are searching and displaying liferay's asset contents, then you can skip few of the above steps. Refer below links for more details

https://portal.liferay.dev/docs/7-2/frameworks/-/knowledge_base/f/asset-framework

https://portal.liferay.dev/docs/7-2/user/-/knowledge_base/u/search
thumbnail
Lokesh Sharma, modified 5 Years ago. Junior Member Posts: 54 Join Date: 7/30/15 Recent Posts
Hi Syed,
My requirement is that I have web content  with different tags like one content is tag1 and other tag2 and same goes for pages in liferay
Now I have do show content pages and content based on tags .
Need help how implement this using search queries .