Re: [C2-devel] Carrot2 metasearch engine live demo question
Brought to you by:
dawidweiss,
stachoo
|
From: Lonnie C. <lo...@ou...> - 2018-02-02 10:12:03
|
Oops, I mistakenly wrote "David" and if should have properly been "Dawid". Sorry, Lonnie On Fri, Feb 2, 2018 at 5:09 AM, Lonnie Cumberland <lo...@ou...> wrote: > Hi David, > > Thanks again and it looks like Carrot2 may be a great addition to the > project. > > As soon as we get a couple other parts of the search engine in place for > the containers based approach then I will look at getting a DCS container > set up for some testing. > > I appreciate you taking the time to discuss it with me and will keep the > community up to date on the progress. > > Cheers and have a great weekend, > Lonnie > > On Fri, Feb 2, 2018 at 2:54 AM, Dawid Weiss <daw...@gm...> wrote: > >> > My project is using Python, but it seems from what I have briefly read >> that >> > Carrot2 can be setup to run as a type of external server such that it >> can be >> > sent data and called from non-Java languages via REST. >> >> You need the DCS (document clustering server). It acts as a HTTP/REST >> service and >> you can query it from Python. There is no example written in Python >> that ships with the DCS, >> but it should be trivial to write one (even based on the Ruby example >> that is in there). >> >> > I am wondering if Carrot2 could be setup as a Docker container service >> that >> > I could call from my Python code to cluster and return the data and >> >> Probably. I don't have that much experience with docker, but it's a >> command-line script and a Java >> service, so I'm sure it can be set up in a dockerized environment. >> >> > If this were possible then scaling could be done just by adding >> > more Carrot2 docker containers. >> >> Again: very likely yes, DCS is stateless so you could run a HTTP >> load-balancing proxy in front of your >> DCS services and manage that. >> >> > If Carrot2 is setup as an external service and called by non-Java code >> like >> > my Python code, then does it support have multiple different instances >> of a >> > non-Java application calling a REST service concurrently? >> >> That's the point of a service exposed via HTTP/REST, unless I don't >> understand your question. >> >> D. >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Carrot2-developers mailing list >> Car...@li... >> https://lists.sourceforge.net/lists/listinfo/carrot2-developers >> > > |