Questions tagged [carrot]

Carrot is a synchronous AMQP client written in Ruby, not to be confused with the Carrot2 clustering engine

Carrot is a synchronous AMQP client written in Ruby, not to be confused with the Carrot2 clustering engine.

17 questions
9
votes
3 answers

Celery (Django) Rate limiting

I'm using Celery to process multiple data-mining tasks. One of these tasks connects to a remote service which allows a maximum of 10 simultaneous connections per user (or in other words, it CAN exceed 10 connections globally but it CANNOT exceed 10…
NFicano
  • 1,065
  • 1
  • 11
  • 26
3
votes
2 answers

RabbitMQ: Connecting & publishing to an existing queue in Ruby

I have two process types on Heroku: a web dyno in Ruby and a worker in Node.js. I'm using the RabbitMQ addon (currently beta) to pass a message from Ruby to Node. Node connects and consumes correctly, and Ruby connects and publishes correctly as…
Jordan Warbelow-Feldstein
  • 10,510
  • 12
  • 48
  • 79
2
votes
2 answers

Carrot Search > 3 levels

I am using carrotsearch circles and also foamtree, the free versions as it doesn't matter to my client if the logos are on the graph. FoamTree is simple to set how many levels deep you want to visualize, in my case 5 (0-4). I can not seem to find…
ekydfejj
  • 339
  • 2
  • 14
1
vote
1 answer

Python ImportError with Sage

Okay I am newer to python and have been researching this problem but I can't find anything like it so I am not sure what is going on. I am creating a program that involves sage and it has a message cue. We have this set up on a development machine,…
1
vote
1 answer

Efficiently selecting a title (the center of the cluster) for a cluster of strings

I have an (imperfectly) clustered string data, where the items in one cluster might look like this: [ Yellow ripe banana very tasty, Yellow ripe banana with little dots, Green apple with little dots, Green ripe banana - from the market, …
eve
  • 11
  • 1
1
vote
1 answer

Getting Java Heap Space error while using Carrot2

I have all my search result formatted in XML format and am trying to run lingo algorithm in the Carrot2 workbench and am continuously running into Java heap space error. The XML is formatted in a way that Carrot2 uses. I am running Carrot2 workbench…
Zxxxxx
  • 397
  • 1
  • 5
  • 16
1
vote
1 answer

Problems in clustering the data while using Carrot2 API with Lingo3GClusteringAlgorithm

I had one scenario where i had to cluster Operating System data. Actual Data consists of 151 users using Windows,27 users using MAC,5 users using Linux. Once after clustering with Carrot2 API using Lingo3gClusteringAlgorithm. Getting cluster…
Pavan
  • 11
  • 2
1
vote
1 answer

Where is the best place initialize a Singleton in Rails?

Where is the best place initialize a Singleton in Rails? I am using the Carrot AMQP library in a Ruby on Rails app and I only want to initial the settings once and not on every task that is generated. I currently have it in my environment.rb and it…
hacintosh
  • 3,784
  • 4
  • 19
  • 22
1
vote
1 answer

How to use an external server with Ruby AMQP Carrot Library

I am using the Ruby AMQP Carrot library and I am trying to talk to a test RabbitMQ server on a virtual machine. The AMQP port is open on the machine but I can't get Carrot to establish an external connection. I have tried the…
hacintosh
  • 3,784
  • 4
  • 19
  • 22
0
votes
1 answer

How do I display this specific data on Google Analytics which I recieve in my Google Tags preview?

This is my first time working with Google Analytics beacuse of client requirement and after getting the values, I have no idea how to show data in Reports/Realtime Preview. Could someone help me as noone at my office knows how this works. Pointing…
0
votes
0 answers

Add authentication to Carrot2 WAR file

Is there any way to add basic authentication to Solr using the Carrot2 WAR file? We used to run Carrot2 with a local solr instance, but now we are moving it to another VM that will work exclusively on Solr. I have set the URL on the…
0
votes
1 answer

Sending other data along with a file using Kombu (carrot)

How can I send a file along with other data using Kombu? I'm using rabbitmq as the broker. e.g. file.pdf along a dictionary {'author': 'user'} I'd like to do this in a single message if possible. But if you reckon using standard serializers of…
joshua
  • 1
  • 1
0
votes
1 answer

Carrot (Python) [errno 10054] An existing connection was forcibly closed by the remote host

We are using Carrot in our Python project. I wrote a Python script acting as the consumer of the message queue. I invoked this Python script using command line shell in Windows 7 as python consumer.py However, after a while, the running session…
Meditation
  • 31
  • 1
  • 3
0
votes
2 answers

Got java heap size error when trying to cluster 15980 documents via carrot2workbench

My environment: 8GB Ram Notebook with Ubuntu 14.04, Solr 4.3.1, carrot2workbench 3.10.0 My Solr Index: 15980 documents My Problem: Cluster all documents with the kmeans algorithm When I drop off the query in the carrot2workbench (query: :), I always…
user1337
  • 460
  • 6
  • 22
0
votes
1 answer

Using the carrot2 workbench without specifying a query

I would like to use the workbench to do some tests but I could not understand how to run it without specifying a query. I would like to make the cluster of documents, without having to specify a query using the workbench. Is it possible? Tanks
msoares
  • 13
  • 4
1
2