Hi i am trying to learn how elastic search balances the shard allocation in the cluster.I tried to learn from the BalancedShard java implementation that is provided in the github but i am not able to get a hold on it.Could anyone give me an overview of how the BalancedShard algorithm works.
Github link : https://github.com/elastic/elasticsearch/blob/v1.5.2/src/main/java/org/elasticsearch/cluster/routing/allocation/allocator/BalancedShardsAllocator.java
Thanks in advance.
Related
I am looking to implement a constrained conditional model in H2O. Are there any resources that can help me get started on implementing a new framework in H2O ?
I have been looking at the github repo. Would I start by looking at implementations of hex.Model as a starting point to understand how to implement?
If there are any samples, etc., would be much appreciated.
I'm trying to use an open data portal which is CKAN . However its search platform uses solr , but i want to use elasticsearch to index my data . Is this a way to use elasticsearch with CKAN ?
Thanks.
The short answer is no.
ES is probably more popular now, but I can't think of any really good reason to switch from SOLR. They are both just wrappers around Lucene. Please do say what your reasoning is.
It's certainly doable, since the coupling with SOLR is reasonably loose. There was some work towards this here: https://github.com/ckan/ckan/pull/3118 which no doubt you'd be welcome to help resource.
We are developing a search engine application in Life Ray 7 and Elastic-Search(2.2). I’ve gone through the official documentation of Life-ray 7 API’ for elastic search but it only describes some classes we need to use and very confusing. We are not using elastic search native API and Transport client.
How to connect to EL from Life-ray? (We have gone through this official link )
How to use life-ray 7 API for indexing and searching in Elastic search?( The official doc only mentions some classes for doing this. We can't find a doc to see how to use them, even Javadoc contains nothing)
I really appreciate if someone can provide us a link to a proper tutorial or an example of how to index a document (for ex: a profile object) in Elastic search on localhost.
We are completely new to the Liferay and elastic search, pardon me for any mistake. Also, we know how to develop the above logics using Native API of elastic search and Java Transport Client.
How to connect to EL from Life-ray?
This link describes the step-by-step process required to setup Liferay with Elastic search.
How to use life-ray 7 API for indexing and searching in Elastic search?
The API's for search/indexing in Liferay 7.0 hasn't changed much. So, I would suggest referring to this link.
I personally haven't implemented Elastic Search in the past as I have used only GSA in my experience. However, I'm pretty sure this documentation is sufficient to get started.
I am trying to make an scalable app using Parse with a search function provided by ElasticSearch.
It seems like I will have to host my own ElasticSearch server which connects to Parse via the ES MongoDB river.
Is this true? Or will Parse handle hosting ES.
I am new to both these solutions.
I recently had the same question. Googling site:parse.com elasticsearch currently only returns 2 results neither of which actually give us an answer. Exploring Parse's discussion forum doesn't provide much help either - the four posts even slightly related to elasticsearch hint at the possibility that Parse wont host ES.
So the answer is... drum roll... maybe :(
I am new to elasticsearch, and currently studying the scriptting in ES.It would be really great if anyone who knows scripting in elasticsearch can put some light over scripting and its use in ES ?
You can start with reading elasticsearch documentation. Scripting is covered in the following topics on elasticsearch web site:
General information
Script Fields
Using script to filter the results
Using script to sort the results
Using scripts in facets (see individual facet documentation pages)
If after reviewing these pages, you still have concreate questions about scripting, don't hesitate to ask them in elasticsearch mailing list or on stackoverflow. Following guidelines on the Help page of elasticsearch website will significantly improve your chances of getting quick and useful answer.