curl -XGET "http://localhost:9200/_search?fields=field1" curl -XGET "http://localhost:9200/_search?fields=field1,field2"
On Thu, Apr 10, 2014 at 7:46 PM, Mohit Anchlia <mohitanch...@gmail.com>wrote: > I should be more explicit, is it possible when using "q=" type of query > string? For eg: http://host/_search?q="field:hello" > > Is it possible to add a query string parameter to achieve that? > > On Thu, Apr 10, 2014 at 3:04 PM, Luiz Guilherme Pais dos Santos < > luizgpsan...@gmail.com> wrote: > >> Hi Mohit, >> >> It is possible, as shown here: >> >> http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-fields.html#search-request-fields >> >> >> On Thu, Apr 10, 2014 at 4:27 PM, Mohit Anchlia <mohitanch...@gmail.com>wrote: >> >>> Is there a way to search and retrieve only specific fields using simple >>> query string? >>> >>> -- >>> 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/CAOT3TWoPZ0mdu8EJUtjOazQ34uVFhnmk7g9Yf6OGYM2az9mpBA%40mail.gmail.com<https://groups.google.com/d/msgid/elasticsearch/CAOT3TWoPZ0mdu8EJUtjOazQ34uVFhnmk7g9Yf6OGYM2az9mpBA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Luiz Guilherme P. Santos >> >> -- >> 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/CAMdL%3DZHUqCnNMKc5wN6sysUzy%2BY%2BB79v6FYd6GUcew-87k8kPQ%40mail.gmail.com<https://groups.google.com/d/msgid/elasticsearch/CAMdL%3DZHUqCnNMKc5wN6sysUzy%2BY%2BB79v6FYd6GUcew-87k8kPQ%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/CAOT3TWo2VWCMRaSsuQXAe4cQDu90vsGSg9%3D8x8d7CrWROH8k-A%40mail.gmail.com<https://groups.google.com/d/msgid/elasticsearch/CAOT3TWo2VWCMRaSsuQXAe4cQDu90vsGSg9%3D8x8d7CrWROH8k-A%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Luiz Guilherme P. Santos -- 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/CAMdL%3DZH9D6H74%2BimMucnyP2PUYKh2MMY0LbcbFJyJ4qStoji9Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.