Skip to content

Instantly share code, notes, and snippets.

@rom3r4
Last active August 29, 2015 14:06
Show Gist options
  • Save rom3r4/66d9a38446aef2657d88 to your computer and use it in GitHub Desktop.
Save rom3r4/66d9a38446aef2657d88 to your computer and use it in GitHub Desktop.
Integration of Tomcat7 + JDK7 + Solr4 + Carrot2 - .XML files.
....
/**
* Initializes the core class handling functionality once the
* clusters finish loading.
*/
function loaded() {
preview();
clusters();
// Finished loading
$("#loading-documents").fadeOut(1000);
$("#documents>.document .title a.in-clusters").remove();
$("#documents>.document .title a.in-new-window").remove();
$("#documents>.document .title a.show-preview").remove();
$("#documents>.document .url").remove();
$("#documents>.document .rank").remove();
$("#documents>.document .title a.title").attr("target", "_parent");
};
....
@rom3r4
Copy link
Author

rom3r4 commented Sep 5, 2014

cat /var/lib/tomcat7/webapps/carrot2/skins22/common-dynamic/js/plugins/ext/carrot2/carrot2.documents.core.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment