figure top three join the nosql movement lupus second search attempt with six results and lupus in the the results of the new search are shown in figure now the results have been narrowed down to six and lupus is in the top three at this pointthe search engine says human granulocytic ehrlichiosis (hgeis more likely hge is disease spread by tickslike the infamous lyme disease by now capable doctor would have already figured out which disease plagues your patientbecause in determining diseases many factors are at playmore than you can feed into your humble search engine for instancethe rash occurs only in of hge and in of lupus patients lupus emerges slowlywhereas hge is set off by tick bite advanced machine-learning databases fed with all this information in more structured way could make diagnosis with far greater certainty given that you need to make do with the wikipedia pagesyou need another symptom to confirm that it' lupus the patient experiences chest painso add this to the list "query"'+fatigue+fever+"joint pain"+rash+"chest pain"'the result is shown in figure seems like it' lupus it took while to get to this conclusionbut you got there of courseyou were limited in the way you presented elasticsearch with the symptoms you used only either single terms ("fatigue"or literal phrases ("joint pain"this worked out for this examplebut elasticsearch is more flexible than this it can take regular expressions and do fuzzy searchbut that' beyond the scope of this bookalthough few examples are included in the downloadable code