Nagendra Kumar Busam 12 Years Ago Really cool feature, as we can do indexing through hooks (not only indexing though)Not able to download hook attached.Getting following error.You do not have permission to access the requested resource.http://www.liferay.com/documents/31578/11633350/sample-indexer-post-processor-hook-6.1.0.1.war Please sign in to reply. Reply as... Cancel
Sandeep Nair 12 Years Ago Really informative. One question, is it necessary to add those entries in web.xml. While deploy will those be not automatically added in the web.xml Please sign in to reply. Reply as... Cancel Jonas Yuan Sandeep Nair 12 Years Ago Hi Nagendra,Are you able to download after logged in?ThanksJonas Please sign in to reply. Reply as... Cancel
Jonas Yuan Sandeep Nair 12 Years Ago Hi Nagendra,Are you able to download after logged in?ThanksJonas Please sign in to reply. Reply as... Cancel
Tomáš Polešovský 12 Years Ago If only this would be available for 5.2 :/ I'd use it right now. Anyway, nice post, thanks for sharing, Jonas! Please sign in to reply. Reply as... Cancel
Nagendra Kumar Busam 12 Years Ago I tried after logged into Liferay only - Not able to download Please sign in to reply. Reply as... Cancel Jonas Yuan Nagendra Kumar Busam 12 Years Ago Hi Sandeep, good point. Ideally, the deploy process should automatically add these lines in the web.xml. Please sign in to reply. Reply as... Cancel Jonas Yuan Jonas Yuan 12 Years Ago - Edited Hi Tomas, this feature is not available in the 5.2 and 6.0 yet. Hope that this could be back-ported in the near future. ThanksJonas Please sign in to reply. Reply as... Cancel Jonas Yuan Jonas Yuan 12 Years Ago Hi Nagendra,It is weird. The "VIEW" permission was assigned to the "Guest". Would you be able to download anything from the site?ThanksJonas Please sign in to reply. Reply as... Cancel Gnaniyar Zubair Jonas Yuan 12 Years Ago Nice Article. Thanks for your detailed explanation Jonus.Like Nagendra, I am also getting that same error while trying to download this war file: "You do not have permission to access the requested resource." Please sign in to reply. Reply as... Cancel
Jonas Yuan Nagendra Kumar Busam 12 Years Ago Hi Sandeep, good point. Ideally, the deploy process should automatically add these lines in the web.xml. Please sign in to reply. Reply as... Cancel Jonas Yuan Jonas Yuan 12 Years Ago - Edited Hi Tomas, this feature is not available in the 5.2 and 6.0 yet. Hope that this could be back-ported in the near future. ThanksJonas Please sign in to reply. Reply as... Cancel Jonas Yuan Jonas Yuan 12 Years Ago Hi Nagendra,It is weird. The "VIEW" permission was assigned to the "Guest". Would you be able to download anything from the site?ThanksJonas Please sign in to reply. Reply as... Cancel Gnaniyar Zubair Jonas Yuan 12 Years Ago Nice Article. Thanks for your detailed explanation Jonus.Like Nagendra, I am also getting that same error while trying to download this war file: "You do not have permission to access the requested resource." Please sign in to reply. Reply as... Cancel
Jonas Yuan Jonas Yuan 12 Years Ago - Edited Hi Tomas, this feature is not available in the 5.2 and 6.0 yet. Hope that this could be back-ported in the near future. ThanksJonas Please sign in to reply. Reply as... Cancel Jonas Yuan Jonas Yuan 12 Years Ago Hi Nagendra,It is weird. The "VIEW" permission was assigned to the "Guest". Would you be able to download anything from the site?ThanksJonas Please sign in to reply. Reply as... Cancel Gnaniyar Zubair Jonas Yuan 12 Years Ago Nice Article. Thanks for your detailed explanation Jonus.Like Nagendra, I am also getting that same error while trying to download this war file: "You do not have permission to access the requested resource." Please sign in to reply. Reply as... Cancel
Jonas Yuan Jonas Yuan 12 Years Ago Hi Nagendra,It is weird. The "VIEW" permission was assigned to the "Guest". Would you be able to download anything from the site?ThanksJonas Please sign in to reply. Reply as... Cancel Gnaniyar Zubair Jonas Yuan 12 Years Ago Nice Article. Thanks for your detailed explanation Jonus.Like Nagendra, I am also getting that same error while trying to download this war file: "You do not have permission to access the requested resource." Please sign in to reply. Reply as... Cancel
Gnaniyar Zubair Jonas Yuan 12 Years Ago Nice Article. Thanks for your detailed explanation Jonus.Like Nagendra, I am also getting that same error while trying to download this war file: "You do not have permission to access the requested resource." Please sign in to reply. Reply as... Cancel
Sandeep Nair 12 Years Ago Hi Nagendra & Zubair, please use teh following linkhttp://www.liferay.com/documents/31578/6144150/sample-jquery-portlet-6.1.0.1.war Please sign in to reply. Reply as... Cancel Alireza Zare Sandeep Nair 12 Years Ago Hi Jonas Yuan,Is ther any way to index related discussions with the document entry?The indexer post processor hook is great. There is one issue in my case:I try to post process the DLFileEntry to index the discussions related to the documents, but it doesn't work while adding comments does not update the file entry itself.Is there any way to achieve that?Thanks Please sign in to reply. Reply as... Cancel Alireza Zare Alireza Zare 12 Years Ago Hello,I've just solved my problem by using a ModelListener for MBMessage.onAfterCreate I reindex the DLEntry and then the post processor hook take over to add discussions to my index.Regards,Alireza Please sign in to reply. Reply as... Cancel Jonas Yuan Alireza Zare 12 Years Ago Nice! Thanks to update, Alieeza! Please sign in to reply. Reply as... Cancel
Alireza Zare Sandeep Nair 12 Years Ago Hi Jonas Yuan,Is ther any way to index related discussions with the document entry?The indexer post processor hook is great. There is one issue in my case:I try to post process the DLFileEntry to index the discussions related to the documents, but it doesn't work while adding comments does not update the file entry itself.Is there any way to achieve that?Thanks Please sign in to reply. Reply as... Cancel Alireza Zare Alireza Zare 12 Years Ago Hello,I've just solved my problem by using a ModelListener for MBMessage.onAfterCreate I reindex the DLEntry and then the post processor hook take over to add discussions to my index.Regards,Alireza Please sign in to reply. Reply as... Cancel Jonas Yuan Alireza Zare 12 Years Ago Nice! Thanks to update, Alieeza! Please sign in to reply. Reply as... Cancel
Alireza Zare Alireza Zare 12 Years Ago Hello,I've just solved my problem by using a ModelListener for MBMessage.onAfterCreate I reindex the DLEntry and then the post processor hook take over to add discussions to my index.Regards,Alireza Please sign in to reply. Reply as... Cancel Jonas Yuan Alireza Zare 12 Years Ago Nice! Thanks to update, Alieeza! Please sign in to reply. Reply as... Cancel
Jonas Yuan Alireza Zare 12 Years Ago Nice! Thanks to update, Alieeza! Please sign in to reply. Reply as... Cancel
Salvador Baena 11 Years Ago Hi, ¿Does this also work when using the Solr plugin?Thanks. Please sign in to reply. Reply as... Cancel Jonas Yuan Salvador Baena 11 Years Ago The answer should be YES. Do you meet any issues?Thanks Please sign in to reply. Reply as... Cancel Amit Shah Jonas Yuan 11 Years Ago Jonas,I want to index filesize field of document library and i am using liferay 6.0. So is their any way to use this hook or i must have to go through ext. Please sign in to reply. Reply as... Cancel
Jonas Yuan Salvador Baena 11 Years Ago The answer should be YES. Do you meet any issues?Thanks Please sign in to reply. Reply as... Cancel Amit Shah Jonas Yuan 11 Years Ago Jonas,I want to index filesize field of document library and i am using liferay 6.0. So is their any way to use this hook or i must have to go through ext. Please sign in to reply. Reply as... Cancel
Amit Shah Jonas Yuan 11 Years Ago Jonas,I want to index filesize field of document library and i am using liferay 6.0. So is their any way to use this hook or i must have to go through ext. Please sign in to reply. Reply as... Cancel
Hugo Alvarez 11 Years Ago Hi Jonas, thanks for the useful blog. I used it to add metadata information extracted from a document type to its properties field. By doing so we want to be able to search for the document using not only its title and/or description but also i.e. the type of document information. So far, using the Solr plugin and cheking its index, we have seen that the metadata are added to the properties filed of the document although we are not able to search the document with these metadata yet. Are we missing something else to be done?, Should some service be extended in terms of a hook?We would appreciate any information someone could provide us with on this matter.Thank you very much. Please sign in to reply. Reply as... Cancel
Nitin Yeola 9 Years Ago HI,I want to filter users from search result on country which I select from selectbox.How can I use index post processor for this.Can you give example? Please sign in to reply. Reply as... Cancel
Praveen Singh Bais 9 Years Ago Hi Jonas,Very nice article.I have one query can we index other models for which the indexer is not already defined. E.g if we want to index the Address model, can that be achieved using this approach ? Please sign in to reply. Reply as... Cancel