How to push data(/content/dam/*) in solr after publishing from author to publish?
Do we need to configure any setting in configMgr?
Solved! Go to Solution.
Views
Replies
Total Likes
@kumamanish For finding any file in AEM, check in CRXDE Lite for OOTB.
The file can be find in the CRDE Lite in the below location.
Thanks
@Rohit4 Please refer to the link https://medium.com/@codeandtheory/getting-started-solr-indexing-in-aem-6-3-d56fde934396 which provides the details about the way from creating the Apache Solr server to push the index in the Apache Solr Server.
Hope this helps!
Thanks
Thanks for your reply,
But I was expecting when we do quick publish through author ui at the same time it should index data in solr also without any manual api call.
Below is required scenerio:
How to automatically push data(/content/dam/*) in solr after click on Quick publish button(Manage Publication)
from author to publish in AEM 6.5.12 version ? Do we need to configure any setting in configMgr?
Hi @ShaileshBassi ,
Thanks for your help but I do have same requirement( @Rohit4 ), at the time of quick publish from ui it should communicate solr for data indexing, I don't want to call any other separate call for indexing.
Below link says we should call a separate servlet for index.
https://medium.com/@codeandtheory/getting-started-solr-indexing-in-aem-6-3-d56fde934396
@kumamanish for this requirement a custom javascript can be created and for that the reference can be taken from "/libs/cq/gui/components/common/wcm/clientlibs/wcm/js/quickpublish.js"
and with the same or another other clientlib category that is getting called on that screen load.
(function(window, document, $, URITemplate) { $(document).on("foundation-contentloaded", function (e) { //custom code for indexing }); })(window, document, Granite.$, Granite.URITemplate);
Thanks
Appreciate your help @ShaileshBassi ,
Not sure how I should go to that particular place for quickpublish.js file, I have AEM-6.5.jar and after extracting I have below structure.
I tried to find those files at above location but no luck.
Can you please help me here to find that path.
@kumamanish For finding any file in AEM, check in CRXDE Lite for OOTB.
The file can be find in the CRDE Lite in the below location.
Thanks
Thanks @ShaileshBassi , Above helped me, if need any further help I will reach to you.