Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Content and Page search using search query
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.
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
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
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 .
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 .
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™