Hi Praveenkumar, what is your index layout, your input data and what is your query request ? Can you post your setup as a working example using curls similiar to https://gist.github.com/mkleen/4739479 ? In this way its easy to help you here.
Regards, Michael On 25 March 2014 08:29, Praveenkumar Arepalli < arepalli.praveen6...@gmail.com> wrote: > > "companyName" : { > "type" : "multi_field", > "fields" : { > "companyName" : { > "type" : "string", > "analyzer" : "apptivo_whitespace_wdf_lcf_analyzer" > }, > "sortable" : { > "type" : "string", > "analyzer" : "apptivo_sort_analyzer", > "include_in_all" : false > }, > "untouched" : { > "type" : "string", > "index" : "not_analyzed", > "norms" : { > "enabled" : false > }, > "index_options" : "docs", > "include_in_all" : false > } > } > } > > > When i am searching in compantName field > nested: IllegalStateException[field "companyName" was indexed without > position data; cannot run PhraseQuery (term=spectrum)]; } > > > How to resolve this ? > > > > On Tue, Mar 25, 2014 at 12:54 PM, Praveenkumar Arepalli < > arepalli.praveen6...@gmail.com> wrote: > >> Your help is appreciated. >> >> >> On Tue, Mar 25, 2014 at 12:52 PM, David Pilato <da...@pilato.fr> wrote: >> >>> >>> 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 < >>> arepalli.praveen6...@gmail.com> a écrit : >>> >>> How to use explain David? >>> >>> >>> On Tue, Mar 25, 2014 at 12:44 PM, David Pilato <da...@pilato.fr> 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 < >>>> arepalli.praveen6...@gmail.com> 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 <da...@pilato.fr> 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 < >>>>> arepalli.praveen6...@gmail.com> 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\" : \"prav...@gmail.com\", \"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 elasticsearch+unsubscr...@googlegroups.com. >>>>> >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/elasticsearch/7be39d44-4573-422b-ac69-d22989062b1a%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/7be39d44-4573-422b-ac69-d22989062b1a%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> 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 >>>>> elasticsearch+unsubscr...@googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/elasticsearch/38D636E7-01B5-4E17-BBCD-EBAC6B75E6DC%40pilato.fr<https://groups.google.com/d/msgid/elasticsearch/38D636E7-01B5-4E17-BBCD-EBAC6B75E6DC%40pilato.fr?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>>> 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 elasticsearch+unsubscr...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/elasticsearch/CACuc-KnVn4TdXZGj95tF%3DZo2LfS%2BWZ9CzYJMn4GNFOd-hRQkmA%40mail.gmail.com<https://groups.google.com/d/msgid/elasticsearch/CACuc-KnVn4TdXZGj95tF%3DZo2LfS%2BWZ9CzYJMn4GNFOd-hRQkmA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>>> 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 >>>> elasticsearch+unsubscr...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/elasticsearch/78BBE902-889B-4B26-BA32-1D56758D6FE8%40pilato.fr<https://groups.google.com/d/msgid/elasticsearch/78BBE902-889B-4B26-BA32-1D56758D6FE8%40pilato.fr?utm_medium=email&utm_source=footer> >>>> . >>>> >>>> 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 elasticsearch+unsubscr...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/elasticsearch/CACuc-Kn38vmWFw%2BRFGG%3DV4xtCCAiDaxvafwen%3Dp6qq82GnVDPg%40mail.gmail.com<https://groups.google.com/d/msgid/elasticsearch/CACuc-Kn38vmWFw%2BRFGG%3DV4xtCCAiDaxvafwen%3Dp6qq82GnVDPg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >>> 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 >>> elasticsearch+unsubscr...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/elasticsearch/8986FC73-1AD3-46C1-818D-795AD5EB874D%40pilato.fr<https://groups.google.com/d/msgid/elasticsearch/8986FC73-1AD3-46C1-818D-795AD5EB874D%40pilato.fr?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Thanks & Regards: >> Praveenkumar Arepalli >> > > > > -- > 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 elasticsearch+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CACuc-K%3DuBGDF3KYjMahZ0N8VQhs1F%2BbKHW-%2B%2BOYj7r4uKqp2kg%40mail.gmail.com<https://groups.google.com/d/msgid/elasticsearch/CACuc-K%3DuBGDF3KYjMahZ0N8VQhs1F%2BbKHW-%2B%2BOYj7r4uKqp2kg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > 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 elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAALawn7XO4NV0U%3Dk3zS3RSdHd1pzaJayEFT1OYeDLXR3bT0nKA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.