Posts

ElasticSearch multiple strings in multiple fields search

I was working on an ElasticSearch(ES) POC to store millions of database entries to ES and search for multiple strings in multiple fields for all these entries. Let me explain the problem in depth - we use different defect tracking tools such as Rational CharmNT, JIRA and so on, to log defects. In defects we update the exception trace to identify the logs. For example - a stack may look like Exception in thread "main" java . lang . NullPointerException at com . mycompany . myproject . Book . getTitle ( Book . java : 16 ) at com . mycompany . myproject . Author . getBookTitles ( Author . java : 25 )   Similarly another stack may look like Exception in thread "main" java . lang . NullPointerException at com . mycompany . myproject . Course . getSchedule ( Course . java : 162 ) at com . mycompany . myproject . CourseDao . getCourses ( CourseDao. java : 50 )   So, we when a tester sees a NullPointerException he will log the trace t...

Requirement Engineering

Try this with your buddies- Take a picture of a crowded road Ask a friend to depict the picture in paper Pass the paper to another friend and ask him/her to draw the picture using the description Let me know how it goes :-)

GWT, MVP and Eventbus

I have been using GWT and MVP for 2 years and so. I loved the way MVP provides flexibility of working with multiple views. In GWT or Swing based application design muddles very quickly.  Maintenance becomes nightmare. We don’t think about the separation of concern, then mix up the UI code and business logic together. MVP (Model View Presenter) proposes following things - ·     View is an interface which is a contract for presenter. here you can define the operations and expose widgets that will be present in the UI. for example if an UI needs an input box for user name and  a  button then you can expose two methods getName() and getOkButton().  Get name can be implemented using whatever widget user wants- a textbox or a custom widget. ·     View implementaion implements the view interface and only concentrate on layout or grouping of widgets. Doesn't perform and logic, doesnt attach any DOM handler to any wi...