Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
shaik bakash
Search functionality
November 20, 2012 4:33 AM
Answer

shaik bakash

Rank: New Member

Posts: 15

Join Date: October 8, 2012

Recent Posts

Hi Friends,
I am new to liferay.

Requirement:
I need to do search functionality for custom portlets as well as default portlets.

I am using liferay default search functionality.Bydefault it will work fork blogs,webcontent,documents and media,events,wiki.
But according to my requirement i need to segregate to different portlets(default it will return whole webcontent(100),and wiki(30),but in my case we are using web content for news,events,jobs portlets it should be displayed as news(20),events(20),jobs(20)) and also i need to remove documents and media search.
one more doubt is what is the difference between everything and this site in default search functionality.
How to enable search functionality for custom portlets as well as custom tables.
Please explain me in detail.
what are the files i need to go through in portal_src.
Any help is appreciated.
Thanks in advance.
Pavel Savinov
RE: Search functionality
November 20, 2012 4:40 AM
Answer

Pavel Savinov

Rank: Junior Member

Posts: 97

Join Date: September 24, 2012

Recent Posts

Hi!

Check out this article in Wiki:
http://www.liferay.com/community/wiki/-/wiki/Main/Adding+search+capabilities+to+a+portlet
shaik bakash
RE: Search functionality
November 20, 2012 5:47 AM
Answer

shaik bakash

Rank: New Member

Posts: 15

Join Date: October 8, 2012

Recent Posts

Hi pavel,
Thanks for ur information.
Could you please explain me default search in liferay detail.
By default search returns the number of occurences like i attached in the file.
I need to segregate to different portlets like in my case news,lexicon instead of webcontent.
Thanks in advance
Attachments: Search.jsp (185.1k)
shaik bakash
RE: Search functionality
November 20, 2012 5:51 AM
Answer

shaik bakash

Rank: New Member

Posts: 15

Join Date: October 8, 2012

Recent Posts

Sorry wrong attachment.
I am attaching the defualt search.png.
Attachment

Attachments: search.jpg (278.9k)