http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-explain.html#search-request-explain
-- David ;-) Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs Le 25 mars 2014 à 08:18, Praveenkumar Arepalli <[email protected]> a écrit : How to use explain David? > On Tue, Mar 25, 2014 at 12:44 PM, David Pilato <[email protected]> wrote: > I understand that you as a developer want to know it. > My question is what are you going to do with that information? > > If it's for debugging purpose then explain is fine. > > > -- > David ;-) > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs > > > Le 25 mars 2014 à 08:07, Praveenkumar Arepalli > <[email protected]> a écrit : > > Hi David, > A record have 40 fields > if the each field has same word in it then as a developer I want know which > field is matched > > Ex: > { > "name" : "joseph", > "phoneNumber" : "joseph 123", > "emailId" : "joseph 234", > "address" : "joseph street", > ..... > > } > like this 40 fields > > i am using matchQuery to get results back. > > My searchText will be "joseph" > > it is returning results but eagerly waiting to know field is matched. > > > > > > > > >> On Tue, Mar 25, 2014 at 12:29 PM, David Pilato <[email protected]> wrote: >> May be using explain option. >> >> But question is more "why a user would like knowing that?" >> Could you describe a little more your use case and what you are trying to >> achieve? >> >> >> >> -- >> David ;-) >> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs >> >> >> Le 25 mars 2014 à 07:37, Praveenkumar Arepalli >> <[email protected]> a écrit : >> >> Hi Team, I have little knowledge in elasticsearch but i cannot satisfied >> with what have know.i want to enhance my knowledge. >> Here is the question 1.How to know which field is matched in indexed >> document while fetching from Index? >> Ex: structure of document in index >> >> Document #1 { \"name\" : \"praveen kumar\", \"Company\" : \"praveen Tech\", >> \"email\" : \"[email protected]\", \"phone\" : \"1234567890\" } >> Document #2 { \"name\" : \"joseph\", \"company\": \"praveen Tech\" } >> -- >> You received this message because you are subscribed to the Google Groups >> "elasticsearch" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/7be39d44-4573-422b-ac69-d22989062b1a%40googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "elasticsearch" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/elasticsearch/N1MJrXE1Zng/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/38D636E7-01B5-4E17-BBCD-EBAC6B75E6DC%40pilato.fr. >> >> For more options, visit https://groups.google.com/d/optout. > > > > -- > Thanks & Regards: > Praveenkumar Arepalli > -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CACuc-KnVn4TdXZGj95tF%3DZo2LfS%2BWZ9CzYJMn4GNFOd-hRQkmA%40mail.gmail.com. > > For more options, visit https://groups.google.com/d/optout. > -- > You received this message because you are subscribed to a topic in the Google > Groups "elasticsearch" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/elasticsearch/N1MJrXE1Zng/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/78BBE902-889B-4B26-BA32-1D56758D6FE8%40pilato.fr. > > For more options, visit https://groups.google.com/d/optout. -- Thanks & Regards: Praveenkumar Arepalli -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CACuc-Kn38vmWFw%2BRFGG%3DV4xtCCAiDaxvafwen%3Dp6qq82GnVDPg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8986FC73-1AD3-46C1-818D-795AD5EB874D%40pilato.fr. For more options, visit https://groups.google.com/d/optout.
