solrcarrot2

How do I get carrot2 workbench running with the solr core that I have created?


I want to integrate my Solr data core with carrot2, to get a nice clustered visualization. However, I am having difficulties with getting carrot2 running in the first place as the documentation I have come across is rather vague. What is needed exactly? In other words, how do I get started?

I have downloaded the latest release of carrot2 from https://github.com/carrot2/carrot2/releases

I cannot understand how to get it running with the solr core that I have already created. What is the next step? Are there any instructions on how to do this exactly?


Solution

  • Carrot2 Workbench was not available in the 4.0.x release, but a browser-based Workbench will be part of the upcoming 4.1.0 release.

    The 4.1.0 is not yet officially available, but you can use snapshot binaries for the time being.

    To cluster Solr data using the snapshot release Workbench:

    1. Download Carrot2 4.1.0 snapshot binaries, unzip in a local folder.

    2. Go to the dcs directory, run the dcs.cmd or dcs.sh depending on your operating system.

    3. Open http://localhost:8080/frontend/#/workbench in a modern browser.

    4. Choose Solr in the Data source combo box, fill in Solr service URL.

    5. If everything worked correctly, Workbench should be able to load the list of cores in your Solr install. Choose the core, choose the fields to cluster, type your query and press Cluster.