How to use cleo?

91 views
Skip to first unread message

Tony

unread,
Dec 20, 2012, 12:48:49 AM12/20/12
to cleo-ty...@googlegroups.com
Hi all,

I want to know how to use cleo in best practise?

In my case, i have a web application. Each time users post a new data, i want to use cleo for indexing new data. So should i use cleo as embedded application and just call index each time user post new data, or use cleo as independent service and write a cleo-client to post data from my web application to cleo web service. 
I see data folder in cleo-primer project. So should my application stores new element data there before and call script with curl to post data for indexing after? 
What case i should use? Advantages & disadvantages?

Thank you all,

Jingwei

unread,
Dec 23, 2012, 5:28:00 PM12/23/12
to cleo-ty...@googlegroups.com
Hi Tony,

Depending on your application needs, Cleo may be used differently. 

If you have a small data sets to be indexed for typeahead purpose, embedding Cleo into your application is not a bad idea.

If you have a relatively large data sets (e.g. several million items), you will want to make Cleo a standalone services and have client to post data to Cleo.

If Cleo services could be shared by multiple applications, obviously you will need to make a standalone service.

Happy holiday.

Jingwei

Tuan Vuong

unread,
Dec 24, 2012, 4:04:27 PM12/24/12
to cleo-ty...@googlegroups.com
Each time i re-run cleo-primier, the indexed data has lost. So how can i config the project to keep indexed data

Thank you & Merry X-Mas

-- 
Best Regards,
Tuan Vuong (Mr.)
Sent with Sparrow

Reply all
Reply to author
Forward
0 new messages