Retrieve specific fields

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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOT3TWoPZ0mdu8EJUtjOazQ34uVFhnmk7g9Yf6OGYM2az9mpBA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Hi Mohit,

It is possible, as shown here:

On Thu, Apr 10, 2014 at 4:27 PM, Mohit Anchlia mohitanchlia@gmail.comwrote:

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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAOT3TWoPZ0mdu8EJUtjOazQ34uVFhnmk7g9Yf6OGYM2az9mpBA%40mail.gmail.comhttps://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+unsubscribe@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.
For more options, visit https://groups.google.com/d/optout.

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 <
luizgpsantos@gmail.com> wrote:

Hi Mohit,

It is possible, as shown here:

Elasticsearch Platform — Find real-time answers at scale | Elastic

On Thu, Apr 10, 2014 at 4:27 PM, Mohit Anchlia mohitanchlia@gmail.comwrote:

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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAOT3TWoPZ0mdu8EJUtjOazQ34uVFhnmk7g9Yf6OGYM2az9mpBA%40mail.gmail.comhttps://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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAMdL%3DZHUqCnNMKc5wN6sysUzy%2BY%2BB79v6FYd6GUcew-87k8kPQ%40mail.gmail.comhttps://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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOT3TWo2VWCMRaSsuQXAe4cQDu90vsGSg9%3D8x8d7CrWROH8k-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

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 mohitanchlia@gmail.comwrote:

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 <
luizgpsantos@gmail.com> wrote:

Hi Mohit,

It is possible, as shown here:

Elasticsearch Platform — Find real-time answers at scale | Elastic

On Thu, Apr 10, 2014 at 4:27 PM, Mohit Anchlia mohitanchlia@gmail.comwrote:

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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAOT3TWoPZ0mdu8EJUtjOazQ34uVFhnmk7g9Yf6OGYM2az9mpBA%40mail.gmail.comhttps://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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAMdL%3DZHUqCnNMKc5wN6sysUzy%2BY%2BB79v6FYd6GUcew-87k8kPQ%40mail.gmail.comhttps://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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAOT3TWo2VWCMRaSsuQXAe4cQDu90vsGSg9%3D8x8d7CrWROH8k-A%40mail.gmail.comhttps://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+unsubscribe@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.