Bavithra Rajendran 14 Years Ago Very Informative . Thanks for making me to know about open search in liferay portal. Sir, I have a doubt . Is this article related to Solr ? Please sign in to reply. Reply as... Cancel Jonas Yuan Bavithra Rajendran 14 Years Ago - Edited Thanks. This article is for OpenSearch - the portlet Search. You could find more details related to Solr at http://www.liferay.com/community/wiki/-/wiki/Main/Integrate+Solr+with+Liferay+portal. Please sign in to reply. Reply as... Cancel Bavithra Rajendran Jonas Yuan 14 Years Ago Sir, thanks again for the update. Eagerly waiting for the book Liferay Portal 6 Enterprise Intranets. Please sign in to reply. Reply as... Cancel
Jonas Yuan Bavithra Rajendran 14 Years Ago - Edited Thanks. This article is for OpenSearch - the portlet Search. You could find more details related to Solr at http://www.liferay.com/community/wiki/-/wiki/Main/Integrate+Solr+with+Liferay+portal. Please sign in to reply. Reply as... Cancel Bavithra Rajendran Jonas Yuan 14 Years Ago Sir, thanks again for the update. Eagerly waiting for the book Liferay Portal 6 Enterprise Intranets. Please sign in to reply. Reply as... Cancel
Bavithra Rajendran Jonas Yuan 14 Years Ago Sir, thanks again for the update. Eagerly waiting for the book Liferay Portal 6 Enterprise Intranets. Please sign in to reply. Reply as... Cancel
sulman sarwar 14 Years Ago I am currently stuck in a scenario. I have many different datasets and i perform search on these datasets. I want to display the search results from each of the dataset in a seperate portlet. In order to do that i need as many portlets on the page as the number of datasets selected by the user. I need some way to instantiate multiple instances of a portlet (each instance will display different data). How is that possible? if at all? Or is there any other solution? I have been searching over the web and liferay forums for a way to do this but no success so far. Can you please help me here? Please sign in to reply. Reply as... Cancel Jonas X. Yuan sulman sarwar 13 Years Ago Hi Sulman, sorry to come back to you too late. Do you have your questions answered? Please sign in to reply. Reply as... Cancel Namrata Hangal Jonas X. Yuan 13 Years Ago Hi Jonas,I was wondering if one can modify the search portlet to filter data based on some meta-data like "date of creation/last modified", "author", "content type" etc? If yes, could you please give me a heads up on this particular feature..?Thanks! Please sign in to reply. Reply as... Cancel Jonas X. Yuan Namrata Hangal 13 Years Ago Hi Namrala, thanks. Yes, you can reach the same by JSP hooks. Please let me know if you meet any issues, Please sign in to reply. Reply as... Cancel Namrata Hangal Jonas X. Yuan 13 Years Ago Hey Jonas,Thanks for you response. But, I'm kind of a newbie.. Could you please elaborate on the steps or direct me to some detailed documentation?I'm in urgent need of this one!!Any help appreciated!Thanks again... Please sign in to reply. Reply as... Cancel Jonas X. Yuan Namrata Hangal 13 Years Ago Hi Namrata, Thanks. Could you please drop email to jonasliferay@gmail.com? Thus your requirements may be addressed in a fast way. Please sign in to reply. Reply as... Cancel Namrata Hangal Jonas X. Yuan 13 Years Ago Sure thing!Thanks Jonas Please sign in to reply. Reply as... Cancel
Jonas X. Yuan sulman sarwar 13 Years Ago Hi Sulman, sorry to come back to you too late. Do you have your questions answered? Please sign in to reply. Reply as... Cancel Namrata Hangal Jonas X. Yuan 13 Years Ago Hi Jonas,I was wondering if one can modify the search portlet to filter data based on some meta-data like "date of creation/last modified", "author", "content type" etc? If yes, could you please give me a heads up on this particular feature..?Thanks! Please sign in to reply. Reply as... Cancel Jonas X. Yuan Namrata Hangal 13 Years Ago Hi Namrala, thanks. Yes, you can reach the same by JSP hooks. Please let me know if you meet any issues, Please sign in to reply. Reply as... Cancel Namrata Hangal Jonas X. Yuan 13 Years Ago Hey Jonas,Thanks for you response. But, I'm kind of a newbie.. Could you please elaborate on the steps or direct me to some detailed documentation?I'm in urgent need of this one!!Any help appreciated!Thanks again... Please sign in to reply. Reply as... Cancel Jonas X. Yuan Namrata Hangal 13 Years Ago Hi Namrata, Thanks. Could you please drop email to jonasliferay@gmail.com? Thus your requirements may be addressed in a fast way. Please sign in to reply. Reply as... Cancel Namrata Hangal Jonas X. Yuan 13 Years Ago Sure thing!Thanks Jonas Please sign in to reply. Reply as... Cancel
Namrata Hangal Jonas X. Yuan 13 Years Ago Hi Jonas,I was wondering if one can modify the search portlet to filter data based on some meta-data like "date of creation/last modified", "author", "content type" etc? If yes, could you please give me a heads up on this particular feature..?Thanks! Please sign in to reply. Reply as... Cancel Jonas X. Yuan Namrata Hangal 13 Years Ago Hi Namrala, thanks. Yes, you can reach the same by JSP hooks. Please let me know if you meet any issues, Please sign in to reply. Reply as... Cancel Namrata Hangal Jonas X. Yuan 13 Years Ago Hey Jonas,Thanks for you response. But, I'm kind of a newbie.. Could you please elaborate on the steps or direct me to some detailed documentation?I'm in urgent need of this one!!Any help appreciated!Thanks again... Please sign in to reply. Reply as... Cancel Jonas X. Yuan Namrata Hangal 13 Years Ago Hi Namrata, Thanks. Could you please drop email to jonasliferay@gmail.com? Thus your requirements may be addressed in a fast way. Please sign in to reply. Reply as... Cancel Namrata Hangal Jonas X. Yuan 13 Years Ago Sure thing!Thanks Jonas Please sign in to reply. Reply as... Cancel
Jonas X. Yuan Namrata Hangal 13 Years Ago Hi Namrala, thanks. Yes, you can reach the same by JSP hooks. Please let me know if you meet any issues, Please sign in to reply. Reply as... Cancel Namrata Hangal Jonas X. Yuan 13 Years Ago Hey Jonas,Thanks for you response. But, I'm kind of a newbie.. Could you please elaborate on the steps or direct me to some detailed documentation?I'm in urgent need of this one!!Any help appreciated!Thanks again... Please sign in to reply. Reply as... Cancel Jonas X. Yuan Namrata Hangal 13 Years Ago Hi Namrata, Thanks. Could you please drop email to jonasliferay@gmail.com? Thus your requirements may be addressed in a fast way. Please sign in to reply. Reply as... Cancel Namrata Hangal Jonas X. Yuan 13 Years Ago Sure thing!Thanks Jonas Please sign in to reply. Reply as... Cancel
Namrata Hangal Jonas X. Yuan 13 Years Ago Hey Jonas,Thanks for you response. But, I'm kind of a newbie.. Could you please elaborate on the steps or direct me to some detailed documentation?I'm in urgent need of this one!!Any help appreciated!Thanks again... Please sign in to reply. Reply as... Cancel Jonas X. Yuan Namrata Hangal 13 Years Ago Hi Namrata, Thanks. Could you please drop email to jonasliferay@gmail.com? Thus your requirements may be addressed in a fast way. Please sign in to reply. Reply as... Cancel Namrata Hangal Jonas X. Yuan 13 Years Ago Sure thing!Thanks Jonas Please sign in to reply. Reply as... Cancel
Jonas X. Yuan Namrata Hangal 13 Years Ago Hi Namrata, Thanks. Could you please drop email to jonasliferay@gmail.com? Thus your requirements may be addressed in a fast way. Please sign in to reply. Reply as... Cancel Namrata Hangal Jonas X. Yuan 13 Years Ago Sure thing!Thanks Jonas Please sign in to reply. Reply as... Cancel
Namrata Hangal Jonas X. Yuan 13 Years Ago Sure thing!Thanks Jonas Please sign in to reply. Reply as... Cancel
Robert Richar Castrillon Rios 13 Years Ago I hava obtain this error15:37:23,644 ERROR [jsp:1529] Error displaying content of type com.liferay.alfrescocontent.util.AlfrescoOpenSearchImpl: java.lang.NullPointerException Please sign in to reply. Reply as... Cancel Jonas X. Yuan Robert Richar Castrillon Rios 13 Years Ago Hi Elbuitro, Thanks. Would you be able to paste more logs info? It would be helpful to have more details. Please sign in to reply. Reply as... Cancel
Jonas X. Yuan Robert Richar Castrillon Rios 13 Years Ago Hi Elbuitro, Thanks. Would you be able to paste more logs info? It would be helpful to have more details. Please sign in to reply. Reply as... Cancel
gonzalad gonzalad 12 Years Ago Hello,Thanks for the post !I've got the same error as elbuitro2002 :I'm using search function with liferay (pluggued with alfresco), and I get :Error displaying content of type com.liferay.alfrescocontent.util.AlfrescoOpenSearchImpl: java.lang.NullPointerExceptionAfter modifying ROOT\html\portlet\search\seach.jsp to add more logs, I get :14:39:03,765 ERROR [jsp:1530] Error displaying content of type com.liferay.alfrescocontent.util.AlfrescoOpenSearchImpl: java.lang.NullPointerExceptionjava.lang.NullPointerException at org.apache.jsp.html.portlet.search.search_jsp._jspService(search_jsp.java:1467) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)When I look in search_jsp.java, line 1467 is :tagsString = tagsString.replaceAll("[\\[\\]]","");NullPointerException is because tags is null.And in fact, there's no tag XML element coming from Alfresco search.I added then a if (tagsString!=null) in the JSP file and it just works fine now.So this is a bug I think in liferay's search.jsp file.My version :- liferay 6.0.6- Alfreco 3.4 Please sign in to reply. Reply as... Cancel gonzalad gonzalad gonzalad gonzalad 12 Years Ago Also, for Alfresco search :In the search response, I only get a list a document of documents (link and filename) matching the search.It would have been really cool to have the part of the document matching the search (à la Google).I think it's because Alfresco OpenSearch API doesn't return this information (see http://wiki.alfresco.com/wiki/OpenSearch#Example_Responses). Please sign in to reply. Reply as... Cancel Marc Piparo gonzalad gonzalad 12 Years Ago How best can i configure so search results include assets of which are not viewable by guest users? Please sign in to reply. Reply as... Cancel Jonas Yuan Marc Piparo 12 Years Ago Hi Marc, Thanks. This can be done by the permission VIEW settings and checking. Please sign in to reply. Reply as... Cancel Jonas Yuan Jonas Yuan 12 Years Ago Hi gonzalad, Thanks, that can be done in the Liferay portal by customizing federated indexing and search capabilities. Please sign in to reply. Reply as... Cancel Andrés Cerezo Jonas Yuan 12 Years Ago Hello all, any one knows how can I order the results of the search with a custom order (i. e. own algorithm).Cheers. Please sign in to reply. Reply as... Cancel Jonas Yuan Andrés Cerezo 12 Years Ago Hi Andrés, yes it is possible. You could check the real example:http://newsroom.cisco.com/and the blogging post:http://www.liferay.com/web/jonas.yuan/blog/-/blogs/building-social-media-rich-newsroom-on-top-of-liferay-portal Hope that it helps, Please sign in to reply. Reply as... Cancel
gonzalad gonzalad gonzalad gonzalad 12 Years Ago Also, for Alfresco search :In the search response, I only get a list a document of documents (link and filename) matching the search.It would have been really cool to have the part of the document matching the search (à la Google).I think it's because Alfresco OpenSearch API doesn't return this information (see http://wiki.alfresco.com/wiki/OpenSearch#Example_Responses). Please sign in to reply. Reply as... Cancel Marc Piparo gonzalad gonzalad 12 Years Ago How best can i configure so search results include assets of which are not viewable by guest users? Please sign in to reply. Reply as... Cancel Jonas Yuan Marc Piparo 12 Years Ago Hi Marc, Thanks. This can be done by the permission VIEW settings and checking. Please sign in to reply. Reply as... Cancel Jonas Yuan Jonas Yuan 12 Years Ago Hi gonzalad, Thanks, that can be done in the Liferay portal by customizing federated indexing and search capabilities. Please sign in to reply. Reply as... Cancel Andrés Cerezo Jonas Yuan 12 Years Ago Hello all, any one knows how can I order the results of the search with a custom order (i. e. own algorithm).Cheers. Please sign in to reply. Reply as... Cancel Jonas Yuan Andrés Cerezo 12 Years Ago Hi Andrés, yes it is possible. You could check the real example:http://newsroom.cisco.com/and the blogging post:http://www.liferay.com/web/jonas.yuan/blog/-/blogs/building-social-media-rich-newsroom-on-top-of-liferay-portal Hope that it helps, Please sign in to reply. Reply as... Cancel
Marc Piparo gonzalad gonzalad 12 Years Ago How best can i configure so search results include assets of which are not viewable by guest users? Please sign in to reply. Reply as... Cancel Jonas Yuan Marc Piparo 12 Years Ago Hi Marc, Thanks. This can be done by the permission VIEW settings and checking. Please sign in to reply. Reply as... Cancel Jonas Yuan Jonas Yuan 12 Years Ago Hi gonzalad, Thanks, that can be done in the Liferay portal by customizing federated indexing and search capabilities. Please sign in to reply. Reply as... Cancel Andrés Cerezo Jonas Yuan 12 Years Ago Hello all, any one knows how can I order the results of the search with a custom order (i. e. own algorithm).Cheers. Please sign in to reply. Reply as... Cancel Jonas Yuan Andrés Cerezo 12 Years Ago Hi Andrés, yes it is possible. You could check the real example:http://newsroom.cisco.com/and the blogging post:http://www.liferay.com/web/jonas.yuan/blog/-/blogs/building-social-media-rich-newsroom-on-top-of-liferay-portal Hope that it helps, Please sign in to reply. Reply as... Cancel
Jonas Yuan Marc Piparo 12 Years Ago Hi Marc, Thanks. This can be done by the permission VIEW settings and checking. Please sign in to reply. Reply as... Cancel Jonas Yuan Jonas Yuan 12 Years Ago Hi gonzalad, Thanks, that can be done in the Liferay portal by customizing federated indexing and search capabilities. Please sign in to reply. Reply as... Cancel Andrés Cerezo Jonas Yuan 12 Years Ago Hello all, any one knows how can I order the results of the search with a custom order (i. e. own algorithm).Cheers. Please sign in to reply. Reply as... Cancel Jonas Yuan Andrés Cerezo 12 Years Ago Hi Andrés, yes it is possible. You could check the real example:http://newsroom.cisco.com/and the blogging post:http://www.liferay.com/web/jonas.yuan/blog/-/blogs/building-social-media-rich-newsroom-on-top-of-liferay-portal Hope that it helps, Please sign in to reply. Reply as... Cancel
Jonas Yuan Jonas Yuan 12 Years Ago Hi gonzalad, Thanks, that can be done in the Liferay portal by customizing federated indexing and search capabilities. Please sign in to reply. Reply as... Cancel Andrés Cerezo Jonas Yuan 12 Years Ago Hello all, any one knows how can I order the results of the search with a custom order (i. e. own algorithm).Cheers. Please sign in to reply. Reply as... Cancel Jonas Yuan Andrés Cerezo 12 Years Ago Hi Andrés, yes it is possible. You could check the real example:http://newsroom.cisco.com/and the blogging post:http://www.liferay.com/web/jonas.yuan/blog/-/blogs/building-social-media-rich-newsroom-on-top-of-liferay-portal Hope that it helps, Please sign in to reply. Reply as... Cancel
Andrés Cerezo Jonas Yuan 12 Years Ago Hello all, any one knows how can I order the results of the search with a custom order (i. e. own algorithm).Cheers. Please sign in to reply. Reply as... Cancel Jonas Yuan Andrés Cerezo 12 Years Ago Hi Andrés, yes it is possible. You could check the real example:http://newsroom.cisco.com/and the blogging post:http://www.liferay.com/web/jonas.yuan/blog/-/blogs/building-social-media-rich-newsroom-on-top-of-liferay-portal Hope that it helps, Please sign in to reply. Reply as... Cancel
Jonas Yuan Andrés Cerezo 12 Years Ago Hi Andrés, yes it is possible. You could check the real example:http://newsroom.cisco.com/and the blogging post:http://www.liferay.com/web/jonas.yuan/blog/-/blogs/building-social-media-rich-newsroom-on-top-of-liferay-portal Hope that it helps, Please sign in to reply. Reply as... Cancel
Bhagat Singh 11 Years Ago Hi,Is it possible to search content in portlet. Please advise. Please sign in to reply. Reply as... Cancel Jonas Yuan Bhagat Singh 11 Years Ago yes. You CAN. Please sign in to reply. Reply as... Cancel Bhagat Singh Jonas Yuan 11 Years Ago Hi Jonas,Can you please help me to provide some links how we can extend search functionality to Portal pages. I have some pages as portal pages in my website. I want to search content in my own portlet.Thanks,Bhagat Please sign in to reply. Reply as... Cancel Navin Singh Bhagat Singh 11 Years Ago Hello Jonas,I want LifeRay search to search a custom portlet as well that connects to other databases (federated search). I bought your book Liferay Portal 6 Enterprise Intranets but I couldn't find any related topic there. How should I go about it LifeRay 6, any guidance will be really appreciable. Please sign in to reply. Reply as... Cancel Navin Singh Navin Singh 11 Years Ago As per you guys' instructions, I was able to successfully implement search indexing and open search on my custom portlet. It indexes my portlet data when running re-index process. But I have problem now, when I try to search, it gives me an exception stating "Error displaying content of type liferay open search... ", any help will be really appreciated. Please sign in to reply. Reply as... Cancel
Jonas Yuan Bhagat Singh 11 Years Ago yes. You CAN. Please sign in to reply. Reply as... Cancel Bhagat Singh Jonas Yuan 11 Years Ago Hi Jonas,Can you please help me to provide some links how we can extend search functionality to Portal pages. I have some pages as portal pages in my website. I want to search content in my own portlet.Thanks,Bhagat Please sign in to reply. Reply as... Cancel Navin Singh Bhagat Singh 11 Years Ago Hello Jonas,I want LifeRay search to search a custom portlet as well that connects to other databases (federated search). I bought your book Liferay Portal 6 Enterprise Intranets but I couldn't find any related topic there. How should I go about it LifeRay 6, any guidance will be really appreciable. Please sign in to reply. Reply as... Cancel Navin Singh Navin Singh 11 Years Ago As per you guys' instructions, I was able to successfully implement search indexing and open search on my custom portlet. It indexes my portlet data when running re-index process. But I have problem now, when I try to search, it gives me an exception stating "Error displaying content of type liferay open search... ", any help will be really appreciated. Please sign in to reply. Reply as... Cancel
Bhagat Singh Jonas Yuan 11 Years Ago Hi Jonas,Can you please help me to provide some links how we can extend search functionality to Portal pages. I have some pages as portal pages in my website. I want to search content in my own portlet.Thanks,Bhagat Please sign in to reply. Reply as... Cancel Navin Singh Bhagat Singh 11 Years Ago Hello Jonas,I want LifeRay search to search a custom portlet as well that connects to other databases (federated search). I bought your book Liferay Portal 6 Enterprise Intranets but I couldn't find any related topic there. How should I go about it LifeRay 6, any guidance will be really appreciable. Please sign in to reply. Reply as... Cancel Navin Singh Navin Singh 11 Years Ago As per you guys' instructions, I was able to successfully implement search indexing and open search on my custom portlet. It indexes my portlet data when running re-index process. But I have problem now, when I try to search, it gives me an exception stating "Error displaying content of type liferay open search... ", any help will be really appreciated. Please sign in to reply. Reply as... Cancel
Navin Singh Bhagat Singh 11 Years Ago Hello Jonas,I want LifeRay search to search a custom portlet as well that connects to other databases (federated search). I bought your book Liferay Portal 6 Enterprise Intranets but I couldn't find any related topic there. How should I go about it LifeRay 6, any guidance will be really appreciable. Please sign in to reply. Reply as... Cancel Navin Singh Navin Singh 11 Years Ago As per you guys' instructions, I was able to successfully implement search indexing and open search on my custom portlet. It indexes my portlet data when running re-index process. But I have problem now, when I try to search, it gives me an exception stating "Error displaying content of type liferay open search... ", any help will be really appreciated. Please sign in to reply. Reply as... Cancel
Navin Singh Navin Singh 11 Years Ago As per you guys' instructions, I was able to successfully implement search indexing and open search on my custom portlet. It indexes my portlet data when running re-index process. But I have problem now, when I try to search, it gives me an exception stating "Error displaying content of type liferay open search... ", any help will be really appreciated. Please sign in to reply. Reply as... Cancel
Saurabh Gupta 11 Years Ago have mention " com.liferay.portlet.messageboards.util.MBOpenSearchImpl=false" but still it is searching from message board.Please tell me what more thing i need to modify.Thanks in Advance Please sign in to reply. Reply as... Cancel
Vishal Panchal 11 Years Ago Hi Jonas,Can we perform search over multiple instances of liferay.?If possible please give your suggestions.Thank You,Vishal Please sign in to reply. Reply as... Cancel Jonas Yuan Vishal Panchal 10 Years Ago yes, you can reach this by customizing your indexer / search. Please sign in to reply. Reply as... Cancel
Jonas Yuan Vishal Panchal 10 Years Ago yes, you can reach this by customizing your indexer / search. Please sign in to reply. Reply as... Cancel
Pankaj Gupta 10 Years Ago HIWe have EE 6.1 Liferay.I want search should work like Any web search. The result displaycouple of rows from content.Also I want to add variuos values to Search dropdown so that search should happen for selected section only.Also I want to integrate search with data stored in Database.How to do same?RegardsPankaj Please sign in to reply. Reply as... Cancel Jonas Yuan Pankaj Gupta 10 Years Ago @pankaj,Yes, you can.You could develop a custom plugin and your own indexer / search capabilities. Please sign in to reply. Reply as... Cancel
Jonas Yuan Pankaj Gupta 10 Years Ago @pankaj,Yes, you can.You could develop a custom plugin and your own indexer / search capabilities. Please sign in to reply. Reply as... Cancel
Sandra del Moral Lazo 10 Years Ago Hi, Can I extends or override the search for get what the user search and insert into BD? If yes how I can do it? Because it is not a service and I am not know how do it.Thank you. Please sign in to reply. Reply as... Cancel
Thorsten Laux 10 Years Ago Hi Jonas.Thank-you for the explanation. I'm using the $theme.search() in my navigation as you describe above.How can I configure the used search portlet IN my Velocity template?Especially I would like to know, how to configure the "View in Context" parameter. This should be set to "false".Btw. I'm using LR 6.1 GA2. Please sign in to reply. Reply as... Cancel
Deepak Gupta 10 Years Ago Hi jonas,How can I display third party sites content which are open search enabled in my portal search result . Please sign in to reply. Reply as... Cancel
Payal Shah 8 Years Ago Sir, I am currently trying to search on Share Point server and display the results in Liferay. Is it possible to do the same using this approach? It would be great if you can provide some inputs in this. Please sign in to reply. Reply as... Cancel
Harsh Kanakhara 6 Years Ago Hi Jonas Yuan,What about Liferay DXP ? How to implement OpenSearch in DXP ? As I am unable to find any OpenSearch related properties in portal.properties to override. Can you please guide me ? Please sign in to reply. Reply as... Cancel