# \[Autocomplete\] Cleo or ElasticSearch with NGram

**URL:** <https://discuss.elastic.co/t/autocomplete-cleo-or-elasticsearch-with-ngram/9736>\
**Category:** Elasticsearch\
**Created:** [November 16, 2012, 8:11am UTC](https://discuss.elastic.co/t/autocomplete-cleo-or-elasticsearch-with-ngram/9736 "2012-11-16T08:11:22Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![zkidkid](https://avatars.discourse-cdn.com/v4/letter/z/fbc32d/32.png) [@zkidkid](https://discuss.elastic.co/u/zkidkid)\
**Post date:** [November 16, 2012, 8:11am UTC](https://discuss.elastic.co/t/autocomplete-cleo-or-elasticsearch-with-ngram/9736/1 "2012-11-16T08:11:22Z")

</div>

Hi All,

Currently, I am running searching with ES.  
We use 3 server with 24 cores and 30GB Ram for each server.

I want to build a index with NGram for auto complete but my friend tells me  
to use CLeo.

I try to google about Cleo but I don't find any useful article about Cleo  
vs ES or (Lucence)

The problem is we have do autocomplete with Lucene and find it's not good  
enough.

Could someone help me ?

Thank in advance.

--

---

<div class="post-metadata">

**Author:** ![zkidkid](https://avatars.discourse-cdn.com/v4/letter/z/fbc32d/32.png) [@zkidkid](https://discuss.elastic.co/u/zkidkid)\
**Post date:** [November 20, 2012, 2:01am UTC](https://discuss.elastic.co/t/autocomplete-cleo-or-elasticsearch-with-ngram/9736/2 "2012-11-20T02:01:48Z")

</div>

Do there anyone use Cleo ?

On Friday, November 16, 2012 3:11:22 PM UTC+7, kidkid wrote:

> Hi All,
> 
> Currently, I am running searching with ES.  
> We use 3 server with 24 cores and 30GB Ram for each server.
> 
> I want to build a index with NGram for auto complete but my friend tells  
> me to use CLeo.
> 
> I try to google about Cleo but I don't find any useful article about Cleo  
> vs ES or (Lucence)
> 
> The problem is we have do autocomplete with Lucene and find it's not good  
> enough.
> 
> Could someone help me ?
> 
> Thank in advance.

--

---

<div class="post-metadata">

**Author:** ![otisg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/otisg/32/492_2.png) [@otisg](https://discuss.elastic.co/u/otisg)\
**Post date:** [November 20, 2012, 3:23am UTC](https://discuss.elastic.co/t/autocomplete-cleo-or-elasticsearch-with-ngram/9736/3 "2012-11-20T03:23:09Z")

</div>

Hi,

I don't know of anyone using Cleo, other than LinkedIn, but they use  
Sensei, not ES. I'm also not sure what sort of advantage it would provide  
over, say, ngram based one. Do you know? I'd be very very curious to know!

I know some people have  
used [Cloud Monitoring Tools & Services | Sematext](http://sematext.com/products/autocomplete/index.html) with  
Elasticsearch and were happy with it.

## Otis

Performance Monitoring - [Sematext Monitoring | Infrastructure Monitoring Service](http://sematext.com/spm/index.html)  
Search Analytics - [Cloud Monitoring Tools & Services | Sematext](http://sematext.com/search-analytics/index.html)

On Friday, November 16, 2012 3:11:22 AM UTC-5, kidkid wrote:

> Hi All,
> 
> Currently, I am running searching with ES.  
> We use 3 server with 24 cores and 30GB Ram for each server.
> 
> I want to build a index with NGram for auto complete but my friend tells  
> me to use CLeo.
> 
> I try to google about Cleo but I don't find any useful article about Cleo  
> vs ES or (Lucence)
> 
> The problem is we have do autocomplete with Lucene and find it's not good  
> enough.
> 
> Could someone help me ?
> 
> Thank in advance.

--

---

<div class="post-metadata">

**Author:** ![vineeth\_mohan](https://avatars.discourse-cdn.com/v4/letter/v/bc79bd/32.png) [@vineeth\_mohan](https://discuss.elastic.co/u/vineeth_mohan)\
**Post date:** [November 20, 2012, 3:47am UTC](https://discuss.elastic.co/t/autocomplete-cleo-or-elasticsearch-with-ngram/9736/4 "2012-11-20T03:47:57Z")

</div>

I am using cleo but then its not to autocomplete search phrases.  
But then its for searching facets.  
We have country , presidents and cars names facets.  
We load the values from ES to cleo using a script periodically.

With few tweaks , cleo is giving an amazing performance.

Thanks  
Vineeth

On Tue, Nov 20, 2012 at 8:53 AM, Otis Gospodnetic \<  
[otis.gospodnetic@gmail.com](mailto:otis.gospodnetic@gmail.com)\> wrote:

> Hi,
> 
> I don't know of anyone using Cleo, other than LinkedIn, but they use  
> Sensei, not ES. I'm also not sure what sort of advantage it would provide  
> over, say, ngram based one. Do you know? I'd be very very curious to know!
> 
> I know some people have used  
> [Cloud Monitoring Tools & Services | Sematext](http://sematext.com/products/autocomplete/index.html) with Elasticsearch  
> and were happy with it.
> 
> ## Otis
> 
> Performance Monitoring - [Sematext Monitoring | Infrastructure Monitoring Service](http://sematext.com/spm/index.html)  
> Search Analytics - [Cloud Monitoring Tools & Services | Sematext](http://sematext.com/search-analytics/index.html)
> 
> On Friday, November 16, 2012 3:11:22 AM UTC-5, kidkid wrote:
> 
> > Hi All,
> > 
> > Currently, I am running searching with ES.  
> > We use 3 server with 24 cores and 30GB Ram for each server.
> > 
> > I want to build a index with NGram for auto complete but my friend tells  
> > me to use CLeo.
> > 
> > I try to google about Cleo but I don't find any useful article about Cleo  
> > vs ES or (Lucence)
> > 
> > The problem is we have do autocomplete with Lucene and find it's not good  
> > enough.
> > 
> > Could someone help me ?
> > 
> > Thank in advance.
> 
> --

--

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [November 20, 2012, 10:15am UTC](https://discuss.elastic.co/t/autocomplete-cleo-or-elasticsearch-with-ngram/9736/5 "2012-11-20T10:15:10Z")

</div>

On Tue, 2012-11-20 at 09:17 +0530, Vineeth Mohan wrote:

> I am using cleo but then its not to autocomplete search phrases.  
> But then its for searching facets.  
> We have country , presidents and cars names facets.  
> We load the values from ES to cleo using a script periodically.
> 
> With few tweaks , cleo is giving an amazing performance.

Out of interest, what does it give you that ES doesn't already give you?

clint

--

---

<div class="post-metadata">

**Author:** ![zkidkid](https://avatars.discourse-cdn.com/v4/letter/z/fbc32d/32.png) [@zkidkid](https://discuss.elastic.co/u/zkidkid)\
**Post date:** [November 20, 2012, 10:26am UTC](https://discuss.elastic.co/t/autocomplete-cleo-or-elasticsearch-with-ngram/9736/6 "2012-11-20T10:26:14Z")

</div>

@Vineeth Mohan: The problem is Cleo not distribute. If we feed data from ES  
to Cleo could cause many problem.

@Clint: It's just a research to see. The problem is I don't know what  
should I use. Cleo or ES for autocomplete only.

Thanks.

On Tuesday, November 20, 2012 5:15:18 PM UTC+7, Clinton Gormley wrote:

> On Tue, 2012-11-20 at 09:17 +0530, Vineeth Mohan wrote:
> 
> > I am using cleo but then its not to autocomplete search phrases.  
> > But then its for searching facets.  
> > We have country , presidents and cars names facets.  
> > We load the values from ES to cleo using a script periodically.
> > 
> > With few tweaks , cleo is giving an amazing performance.
> 
> Out of interest, what does it give you that ES doesn't already give you?
> 
> clint

--

---

<div class="post-metadata">

**Author:** ![Lukas\_Vlcek1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas_vlcek1/32/819_2.png) [@Lukas\_Vlcek1](https://discuss.elastic.co/u/Lukas_Vlcek1)\
**Post date:** [November 20, 2012, 11:11am UTC](https://discuss.elastic.co/t/autocomplete-cleo-or-elasticsearch-with-ngram/9736/7 "2012-11-20T11:11:13Z")

</div>

Hi,

note that Lucene 4.0 comes with interesting features regarding  
auto-somplete and spellchecking  
[http://lucene.apache.org/core/4\_0\_0/suggest/index.html](http://lucene.apache.org/core/4_0_0/suggest/index.html)

Once ES switches to Lucene 4.0 then (hopefully) these features (or at least  
some of them) will be available to ES users as well.

Just my 2 cents,  
Lukas

On Tue, Nov 20, 2012 at 11:26 AM, kidkid [zkidkid@gmail.com](mailto:zkidkid@gmail.com) wrote:

> @Vineeth Mohan: The problem is Cleo not distribute. If we feed data from  
> ES to Cleo could cause many problem.
> 
> @Clint: It's just a research to see. The problem is I don't know what  
> should I use. Cleo or ES for autocomplete only.
> 
> Thanks.
> 
> On Tuesday, November 20, 2012 5:15:18 PM UTC+7, Clinton Gormley wrote:
> 
> > On Tue, 2012-11-20 at 09:17 +0530, Vineeth Mohan wrote:
> > 
> > > I am using cleo but then its not to autocomplete search phrases.  
> > > But then its for searching facets.  
> > > We have country , presidents and cars names facets.  
> > > We load the values from ES to cleo using a script periodically.
> > > 
> > > With few tweaks , cleo is giving an amazing performance.
> > 
> > Out of interest, what does it give you that ES doesn't already give you?
> > 
> > clint
> > 
> > --

--

---

<div class="post-metadata">

**Author:** ![vineeth\_mohan](https://avatars.discourse-cdn.com/v4/letter/v/bc79bd/32.png) [@vineeth\_mohan](https://discuss.elastic.co/u/vineeth_mohan)\
**Post date:** [November 20, 2012, 11:50am UTC](https://discuss.elastic.co/t/autocomplete-cleo-or-elasticsearch-with-ngram/9736/8 "2012-11-20T11:50:53Z")

</div>

Hi ,

The following feature is the main reason i moved to cleo

A company can be identified by its name like Yahoo INC or its ticker like  
YHOO or its CUSIP or any other identifier.

Cleo lets me map a single name to multiple keywords.

Like (Yahoo INC) = ["YHOO" , "CUSIP" , "ISIN"]

Hence when a user types YHOO or CUSIP of yahoo or the ISIN or the company  
name , it gets mapped to Yahoo INC.

I couldn’t think of a easier way to achieve this in ES. Also cleo is 100%  
main memory based.

Thanks

```
          Vineeth

```

On Tue, Nov 20, 2012 at 4:41 PM, Lukáš Vlček [lukas.vlcek@gmail.com](mailto:lukas.vlcek@gmail.com) wrote:

> Hi,
> 
> note that Lucene 4.0 comes with interesting features regarding  
> auto-somplete and spellchecking  
> [Lucene 4.0.0 API](http://lucene.apache.org/core/4_0_0/suggest/index.html)
> 
> Once ES switches to Lucene 4.0 then (hopefully) these features (or at  
> least some of them) will be available to ES users as well.
> 
> Just my 2 cents,  
> Lukas
> 
> On Tue, Nov 20, 2012 at 11:26 AM, kidkid [zkidkid@gmail.com](mailto:zkidkid@gmail.com) wrote:
> 
> > @Vineeth Mohan: The problem is Cleo not distribute. If we feed data from  
> > ES to Cleo could cause many problem.
> > 
> > @Clint: It's just a research to see. The problem is I don't know what  
> > should I use. Cleo or ES for autocomplete only.
> > 
> > Thanks.
> > 
> > On Tuesday, November 20, 2012 5:15:18 PM UTC+7, Clinton Gormley wrote:
> > 
> > > On Tue, 2012-11-20 at 09:17 +0530, Vineeth Mohan wrote:
> > > 
> > > > I am using cleo but then its not to autocomplete search phrases.  
> > > > But then its for searching facets.  
> > > > We have country , presidents and cars names facets.  
> > > > We load the values from ES to cleo using a script periodically.
> > > > 
> > > > With few tweaks , cleo is giving an amazing performance.
> > > 
> > > Out of interest, what does it give you that ES doesn't already give you?
> > > 
> > > clint
> > > 
> > > --
> 
> --

--

---

<div class="post-metadata">

**Author:** ![Lukas\_Vlcek1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas_vlcek1/32/819_2.png) [@Lukas\_Vlcek1](https://discuss.elastic.co/u/Lukas_Vlcek1)\
**Post date:** [November 20, 2012, 11:58am UTC](https://discuss.elastic.co/t/autocomplete-cleo-or-elasticsearch-with-ngram/9736/9 "2012-11-20T11:58:47Z")

</div>

Hi,

there are many ways how you can get this in ES too.  
Synonym filter for example:

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

Regrds,  
Lukas

On Tue, Nov 20, 2012 at 12:50 PM, Vineeth Mohan  
[vineethmohan@algotree.com](mailto:vineethmohan@algotree.com)wrote:

> Hi ,
> 
> The following feature is the main reason i moved to cleo
> 
> A company can be identified by its name like Yahoo INC or its ticker like  
> YHOO or its CUSIP or any other identifier.
> 
> Cleo lets me map a single name to multiple keywords.
> 
> Like (Yahoo INC) = ["YHOO" , "CUSIP" , "ISIN"]
> 
> Hence when a user types YHOO or CUSIP of yahoo or the ISIN or the company  
> name , it gets mapped to Yahoo INC.
> 
> I couldn’t think of a easier way to achieve this in ES. Also cleo is 100%  
> main memory based.
> 
> Thanks
> 
> ```
> Vineeth
> 
> ```
> 
> On Tue, Nov 20, 2012 at 4:41 PM, Lukáš Vlček [lukas.vlcek@gmail.com](mailto:lukas.vlcek@gmail.com)wrote:
> 
> > Hi,
> > 
> > note that Lucene 4.0 comes with interesting features regarding  
> > auto-somplete and spellchecking  
> > [Lucene 4.0.0 API](http://lucene.apache.org/core/4_0_0/suggest/index.html)
> > 
> > Once ES switches to Lucene 4.0 then (hopefully) these features (or at  
> > least some of them) will be available to ES users as well.
> > 
> > Just my 2 cents,  
> > Lukas
> > 
> > On Tue, Nov 20, 2012 at 11:26 AM, kidkid [zkidkid@gmail.com](mailto:zkidkid@gmail.com) wrote:
> > 
> > > @Vineeth Mohan: The problem is Cleo not distribute. If we feed data from  
> > > ES to Cleo could cause many problem.
> > > 
> > > @Clint: It's just a research to see. The problem is I don't know what  
> > > should I use. Cleo or ES for autocomplete only.
> > > 
> > > Thanks.
> > > 
> > > On Tuesday, November 20, 2012 5:15:18 PM UTC+7, Clinton Gormley wrote:
> > > 
> > > > On Tue, 2012-11-20 at 09:17 +0530, Vineeth Mohan wrote:
> > > > 
> > > > > I am using cleo but then its not to autocomplete search phrases.  
> > > > > But then its for searching facets.  
> > > > > We have country , presidents and cars names facets.  
> > > > > We load the values from ES to cleo using a script periodically.
> > > > > 
> > > > > With few tweaks , cleo is giving an amazing performance.
> > > > 
> > > > Out of interest, what does it give you that ES doesn't already give  
> > > > you?
> > > > 
> > > > clint
> > > > 
> > > > --
> > 
> > --
> 
> --

--

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:03am UTC](https://discuss.elastic.co/t/autocomplete-cleo-or-elasticsearch-with-ngram/9736/10 "2017-07-06T03:03:35Z")

</div>


