SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye

Welcome, Guest
Guest Settings
Help

Compass Support Forums » Compass » Compass Users

Thread: Using Compass as a server


Permlink Replies: 5 - Pages: 1 - Last Post: Mar 11, 2008 4:16 PM Last Post By: Shay Banon
Mathieu

Posts: 51
Registered: 6/20/06
Using Compass as a server
Posted: Mar 11, 2008 2:52 PM
  Click to reply to this thread Reply
Here is a POC about using Compass+Spring from PHP :
http://blog.garambrogne.net/index.php?post/2008/03/11/Using-Compass-without-dirtying-its-hands-with-java
No Java coding, just XML config files, and PHP or Python codes.

I know it's look like Solr, but I like how Compass simplify Lucene, and trying other thing than Servlet is always a good thing.

It's just a prototype, not a bullet proof project, but using Compass outside the java world is a good idea?
Shay Banon

Posts: 4,028
Registered: 9/6/05
Re: Using Compass as a server
Posted: Mar 11, 2008 2:59 PM   in response to: Mathieu in response to: Mathieu
  Click to reply to this thread Reply
I get "Le document que vous cherchez n'existe pas.". Actually, I have been tinkering with the idea of starting a side project in having a Compass server and having Compass features (which is more advance then Solr in some areas) accessible through simple REST api. Focusing on 2.0 for now though...
Mathieu

Posts: 51
Registered: 6/20/06
Re: Using Compass as a server
Posted: Mar 11, 2008 3:48 PM   in response to: Shay Banon in response to: Shay Banon
  Click to reply to this thread Reply
Second try with the url :
Compass-rpc

The url is too long, the forum put a %20 in my clean url!
Copy/paste works!

Here is a tinyurl : http://tinyurl.com/yvkge5

Using Object is more intuitive than XML, that's sure.
I'de like to implement some REST method, like Opensearch features.
I will bench mina+json-rpc vs tomcat+REST. I think mina will far more scalable.

Edited by: Mathieu on Mar 11, 2008 3:48 PM

Edited by: Mathieu on Mar 11, 2008 3:51 PM
vam

Posts: 259
Registered: 1/2/07
Re: Using Compass as a server
Posted: Mar 11, 2008 3:52 PM   in response to: Mathieu in response to: Mathieu
  Click to reply to this thread Reply
I'm doing the same thing with CXF allowing search with JSON, REST, WS*, and YML and SOA architecture with compass. So far I can use it with Javascript, RoR and PHP. Compass just makes programming Lucene too easy. But I must say that whether compass succeeds in the market is going to be based on the Quality of the Documentation.
Mathieu

Posts: 51
Registered: 6/20/06
Re: Using Compass as a server
Posted: Mar 11, 2008 4:03 PM   in response to: vam in response to: vam
  Click to reply to this thread Reply
any url?

The trick, here, is to use client proxy. Users doesn't care care about transport layer nor serialization. He just used object, with save and find method with his favorite language. It's a little more than RPC call.

I agree with the documentation quality of Compass.
Shay Banon

Posts: 4,028
Registered: 9/6/05
Re: Using Compass as a server
Posted: Mar 11, 2008 4:16 PM   in response to: Mathieu in response to: Mathieu
  Click to reply to this thread Reply
There is a thread going around in the forum talking about suggestions on improved documentation for Compass, which I try to monitor and enhance Compass documentation as much as I can.

I can certainly use help here. So if you have some free time, Compass documentation is in docbook format and pretty easy to enhance. I am very open to suggestions.

I am also trying to set up the Compass wiki (make it more structured a bit) in order to allow for user input more easily. Vam, I saw that you started to help there, thanks!.
Legend
Guru: 2001 + pts
Expert: 501 - 2000 pts
Super-star: 101 - 500 pts
Assistant: 51 - 100 pts
Participant: 0 - 50 pts
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums