Best practice creating ES API using NodeJS

2014-11-05 Thread Idan
Hi, I developed simple nodejs project using ES as our search engine and ElasticSearchClient for node Node is exposing api to the user(using expressJS for that) I have few search categories (search by username, search by firstname, search by lastname, etc...) This is the function (using promise

Re: Status red on Marvel overview raising shardFailures

2014-07-30 Thread Idan
Hi, Wonder if anyone got any clue about this? maybe additional logs needed to nail this one? thanks. On Tuesday, July 29, 2014 10:14:42 AM UTC+3, Idan wrote: > > I have status red on marvel dashboard. If I check the the 'Shared > allocation' tab on the overview I see t

Status red on Marvel overview raising shardFailures

2014-07-29 Thread Idan
I have status red on marvel dashboard. If I check the the 'Shared allocation' tab on the overview I see this error: Oops! SearchPhaseExecutionException[Failed to execute phase [query_fetch], all shards failed; shardFailures {[u-gTT9MhQ7mG9nP2k28WWw][.marvel-2014.07.25][0]: RemoteTransportExce

Using Alias mapping design for specific scenario

2014-07-22 Thread Idan
Our project contain customers. each customer doing transaction which being indexed at ES for later searching capabilities. Not all transaction structured the same and the structure is possibly to be changed (Changing fields and types/mappings). I need to design ES indexing in advanced so it wi

Re: Best practice architecture using ES

2014-07-15 Thread Idan
Thanks for your replies guys. On Sunday, July 13, 2014 12:04:27 PM UTC+3, Idan wrote: > > I have simple web app containing the client side(Angular JS) and the > server layer(Spring,Spring MVC) > > I am taking the simplest case of searching when a user have single search >

Re: Best practice architecture using ES

2014-07-14 Thread Idan Fridman
Nikolas, How did you structure your middle tier?(Java? Node? some details on the layers inside..) 2014-07-14 23:48 GMT+03:00 Nikolas Everett : > I'm looking at this from the perspective of a script kiddy trying to make > your life hard - if you open up Elasticsearch someone will notice that > qu

Re: Best practice architecture using ES

2014-07-14 Thread Idan Fridman
@Danny, Nope. Well maybe that could be a future reason. But I was looking for best practice implementation. thinking: 1. Should we have middle tier between ES and the client. 2.(Which is more important) how did you structure it(in case you did). That way ill be able to learn from you, experience