# My search use case and Elastic Serach (ES)

**URL:** <https://discuss.elastic.co/t/my-search-use-case-and-elastic-serach-es/3912>\
**Category:** Elasticsearch\
**Created:** [February 11, 2011, 7:03am UTC](https://discuss.elastic.co/t/my-search-use-case-and-elastic-serach-es/3912 "2011-02-11T07:03:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Superstring](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@Superstring](https://discuss.elastic.co/u/Superstring)\
**Post date:** [February 11, 2011, 7:03am UTC](https://discuss.elastic.co/t/my-search-use-case-and-elastic-serach-es/3912/1 "2011-02-11T07:03:15Z")

</div>

Greetings ES,

Interesting to learn about ES, I have looked into Lucene and Solr and  
have Solr in mind for my use case. My app is well defined with objects  
and configurations. There are many configurations and they can be  
loaded into a cache in the app from Solr on an external server (or may  
be ES). Where ever possible the configuration format is JSON but in  
some cases they are XML, for instance for SVG files that provide  
swappable glyphs for the app. Does ES also index/query XML?

Another question I wrestled with Solr on was if to embed Solr in each  
local client/the app or only have it run on an external server.  
Presently, there is the Solr instance on a server then apps only cache  
queried data which is received as JSON or XML into a local cache. The  
cache has maps dedicated to de/serialize different configuration types  
for the different aspects of the app.

The main data in my search engine will be configurations not the usual  
search engine text. Configurations in my app are essentially business  
rules and data, as a multimedia app there will be thousands available  
and more constantly published. They are like a form of plugin that can  
be extended by users to make the generic objects in the app behave in  
very diverse ways, a la dependency injection. What is the best search  
engine to use? My app also uses the JXTA P2P API which is all about  
distributed search, are there are ties to ES here?

Great to see more going on in this exciting area!

Superstring

---

<div class="post-metadata">

**Author:** ![Karussell1](https://avatars.discourse-cdn.com/v4/letter/k/50afbb/32.png) [@Karussell1](https://discuss.elastic.co/u/Karussell1)\
**Post date:** [February 11, 2011, 3:02pm UTC](https://discuss.elastic.co/t/my-search-use-case-and-elastic-serach-es/3912/2 "2011-02-11T15:02:17Z")

</div>

What is your question? 🙂

Try Elasticsearch to get a better understanding what is different to  
Solr:

> **[Get Started with ElasticSearch and Wicket](https://karussell.wordpress.com/2011/02/07/get-started-with-elasticsearch/)**
>
> GraphHopper – A Java routing engine karussell ads This article will show you the most basic steps required to make ElasticSearch working for the simplest scenario with the help of the Java AP…

> What is the best search engine to use?

Elasticsearch? 😉

On 11 Feb., 08:03, Superstring [superstring.me...@gmail.com](mailto:superstring.me...@gmail.com) wrote:

> Greetings ES,
> 
> Interesting to learn about ES, I have looked into Lucene and Solr and  
> have Solr in mind for my use case. My app is well defined with objects  
> and configurations. There are many configurations and they can be  
> loaded into a cache in the app from Solr on an external server (or may  
> be ES). Where ever possible the configuration format is JSON but in  
> some cases they are XML, for instance for SVG files that provide  
> swappable glyphs for the app. Does ES also index/query XML?
> 
> Another question I wrestled with Solr on was if to embed Solr in each  
> local client/the app or only have it run on an external server.  
> Presently, there is the Solr instance on a server then apps only cache  
> queried data which is received as JSON or XML into a local cache. The  
> cache has maps dedicated to de/serialize different configuration types  
> for the different aspects of the app.
> 
> The main data in my search engine will be configurations not the usual  
> search engine text. Configurations in my app are essentially business  
> rules and data, as a multimedia app there will be thousands available  
> and more constantly published. They are like a form of plugin that can  
> be extended by users to make the generic objects in the app behave in  
> very diverse ways, a la dependency injection. What is the best search  
> engine to use? My app also uses the JXTA P2P API which is all about  
> distributed search, are there are ties to ES here?
> 
> Great to see more going on in this exciting area!
> 
> Superstring

---

<div class="post-metadata">

**Author:** ![Superstring](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@Superstring](https://discuss.elastic.co/u/Superstring)\
**Post date:** [February 11, 2011, 4:11pm UTC](https://discuss.elastic.co/t/my-search-use-case-and-elastic-serach-es/3912/3 "2011-02-11T16:11:46Z")

</div>

1 - Does ES also index/query XML?

2 - Another question I wrestled with Solr on was if to embed Solr in  
each local client/the app or only have it run on an external server.  
Can ES be embedded on the client side?

3 - What is the best search engine to use? FOR my described use case,  
see above.

4 - My app also uses the JXTA P2P API which is all about distributed  
search, are there are ties to ES here?

5 - Does ES de/serialize JSON as well?

On Feb 11, 9:02 am, Karussell [tableyourt...@googlemail.com](mailto:tableyourt...@googlemail.com) wrote:

> What is your question? 🙂
> 
> Try Elasticsearch to get a better understanding what is different to  
> Solr:
> 
> [Get Started with ElasticSearch and Wicket | Karussell](http://karussell.wordpress.com/2011/02/07/get-started-with-elasticsea)...
> 
> > What is the best search engine to use?
> 
> Elasticsearch? 😉
> 
> On 11 Feb., 08:03, Superstring [superstring.me...@gmail.com](mailto:superstring.me...@gmail.com) wrote:
> 
> > Greetings ES,
> 
> > Interesting to learn about ES, I have looked into Lucene and Solr and  
> > have Solr in mind for my use case. My app is well defined with objects  
> > and configurations. There are many configurations and they can be  
> > loaded into a cache in the app from Solr on an external server (or may  
> > be ES). Where ever possible the configuration format is JSON but in  
> > some cases they are XML, for instance for SVG files that provide  
> > swappable glyphs for the app. Does ES also index/query XML?
> 
> > Another question I wrestled with Solr on was if to embed Solr in each  
> > local client/the app or only have it run on an external server.  
> > Presently, there is the Solr instance on a server then apps only cache  
> > queried data which is received as JSON or XML into a local cache. The  
> > cache has maps dedicated to de/serialize different configuration types  
> > for the different aspects of the app.
> 
> > The main data in my search engine will be configurations not the usual  
> > search engine text. Configurations in my app are essentially business  
> > rules and data, as a multimedia app there will be thousands available  
> > and more constantly published. They are like a form of plugin that can  
> > be extended by users to make the generic objects in the app behave in  
> > very diverse ways, a la dependency injection. What is the best search  
> > engine to use? My app also uses the JXTA P2P API which is all about  
> > distributed search, are there are ties to ES here?
> 
> > Great to see more going on in this exciting area!
> 
> > Superstring

---

<div class="post-metadata">

**Author:** ![Karussell1](https://avatars.discourse-cdn.com/v4/letter/k/50afbb/32.png) [@Karussell1](https://discuss.elastic.co/u/Karussell1)\
**Post date:** [February 12, 2011, 2:32pm UTC](https://discuss.elastic.co/t/my-search-use-case-and-elastic-serach-es/3912/4 "2011-02-12T14:32:15Z")

</div>

hmmh, I think you should try it out. it will take you 10 minutes ...

that being said: ES only supports json and yes, you can embed ES into  
your application IMHO:  
start the node in background and then get the client node.client

> 3 - What is the best search engine to use? FOR my described use case,

no one can answer this correctly. you should evaluate both, if not a  
pure lucene approach too.

the big advantage of ES is that you can add nodes to scale ... nothing  
that you need for an embeded app IMO ...

but ES is also more real time at the moment ...

> 5 - Does ES de/serialize JSON as well?

what do you mean with this? you can put the whole document in the  
index (as json) and get it back as json, yes.

Regards,  
Peter.

On 11 Feb., 17:11, Superstring [superstring.me...@gmail.com](mailto:superstring.me...@gmail.com) wrote:

> 1 - Does ES also index/query XML?
> 
> 2 - Another question I wrestled with Solr on was if to embed Solr in  
> each local client/the app or only have it run on an external server.  
> Can ES be embedded on the client side?
> 
> 3 - What is the best search engine to use? FOR my described use case,  
> see above.
> 
> 4 - My app also uses the JXTA P2P API which is all about distributed  
> search, are there are ties to ES here?
> 
> 5 - Does ES de/serialize JSON as well?
> 
> On Feb 11, 9:02 am, Karussell [tableyourt...@googlemail.com](mailto:tableyourt...@googlemail.com) wrote:
> 
> > What is your question? 🙂
> 
> > Try Elasticsearch to get a better understanding what is different to  
> > Solr:
> 
> > [Get Started with ElasticSearch and Wicket | Karussell](http://karussell.wordpress.com/2011/02/07/get-started-with-elasticsea)...
> 
> > > What is the best search engine to use?
> 
> > Elasticsearch? 😉
> 
> > On 11 Feb., 08:03, Superstring [superstring.me...@gmail.com](mailto:superstring.me...@gmail.com) wrote:
> 
> > > Greetings ES,
> 
> > > Interesting to learn about ES, I have looked into Lucene and Solr and  
> > > have Solr in mind for my use case. My app is well defined with objects  
> > > and configurations. There are many configurations and they can be  
> > > loaded into a cache in the app from Solr on an external server (or may  
> > > be ES). Where ever possible the configuration format is JSON but in  
> > > some cases they are XML, for instance for SVG files that provide  
> > > swappable glyphs for the app. Does ES also index/query XML?
> 
> > > Another question I wrestled with Solr on was if to embed Solr in each  
> > > local client/the app or only have it run on an external server.  
> > > Presently, there is the Solr instance on a server then apps only cache  
> > > queried data which is received as JSON or XML into a local cache. The  
> > > cache has maps dedicated to de/serialize different configuration types  
> > > for the different aspects of the app.
> 
> > > The main data in my search engine will be configurations not the usual  
> > > search engine text. Configurations in my app are essentially business  
> > > rules and data, as a multimedia app there will be thousands available  
> > > and more constantly published. They are like a form of plugin that can  
> > > be extended by users to make the generic objects in the app behave in  
> > > very diverse ways, a la dependency injection. What is the best search  
> > > engine to use? My app also uses the JXTA P2P API which is all about  
> > > distributed search, are there are ties to ES here?
> 
> > > Great to see more going on in this exciting area!
> 
> > > Superstring

---

<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, 4:12am UTC](https://discuss.elastic.co/t/my-search-use-case-and-elastic-serach-es/3912/5 "2017-07-06T04:12:11Z")

</div>


