Searching Text through multiple fields for retrieval

Hello everyone,
I am working on a search API to find results from elastic search.
I have a text entry input from user, which I need to search in elastic
search across multiple fields (or rather all fields) within the JSON that
was pushed and indexed.
Can I use GET API of elastic search to search the text across multiple
fields? I do not prefer to specify each and every field in my search query
as there would be many fields in my json to search the data from?
Please clarify.

Appreciate your inputs.

Regards,
Sagar Shah

--
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/8da87acf-5b16-4148-8a17-93be32b55757%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Get only retrieves the document, so no you cannot use that to search.
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-get.html#docs-get

On 21 February 2015 at 04:18, Sagar Shah sagarshah1983@gmail.com wrote:

Hello everyone,
I am working on a search API to find results from elastic search.
I have a text entry input from user, which I need to search in elastic
search across multiple fields (or rather all fields) within the JSON that
was pushed and indexed.
Can I use GET API of elastic search to search the text across multiple
fields? I do not prefer to specify each and every field in my search query
as there would be many fields in my json to search the data from?
Please clarify.

Appreciate your inputs.

Regards,
Sagar Shah

--
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/8da87acf-5b16-4148-8a17-93be32b55757%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/8da87acf-5b16-4148-8a17-93be32b55757%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 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/CAEYi1X86xO3X9hnD9aA%2BXtBjzZZ3umpTTJTzYdRyEOij0F_peA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Appreciate your inputs!
Is there any other API that can help me in searching the input text across
multiple fields and return results?
Please advise.

Thanks.

On Fri, Feb 20, 2015 at 2:59 PM, Mark Walkom markwalkom@gmail.com wrote:

Get only retrieves the document, so no you cannot use that to search.

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-get.html#docs-get

On 21 February 2015 at 04:18, Sagar Shah sagarshah1983@gmail.com wrote:

Hello everyone,
I am working on a search API to find results from elastic search.
I have a text entry input from user, which I need to search in elastic
search across multiple fields (or rather all fields) within the JSON that
was pushed and indexed.
Can I use GET API of elastic search to search the text across multiple
fields? I do not prefer to specify each and every field in my search query
as there would be many fields in my json to search the data from?
Please clarify.

Appreciate your inputs.

Regards,
Sagar Shah

--
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/8da87acf-5b16-4148-8a17-93be32b55757%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/8da87acf-5b16-4148-8a17-93be32b55757%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/kECiIqyrcoM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAEYi1X86xO3X9hnD9aA%2BXtBjzZZ3umpTTJTzYdRyEOij0F_peA%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAEYi1X86xO3X9hnD9aA%2BXtBjzZZ3umpTTJTzYdRyEOij0F_peA%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--

Regards,
Sagar Shah

Too many people think more of security instead of opportunity. They seem
more afraid of life than death!!!

--
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/CANZnv5jvEYtJLBqWHoOVGp373puW9PAx2ak%3DZUPdsQOhmb-P%2Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search.html
is what you want.

It sounds like you're new to the world of ES, so it might be worth also
taking a look at
http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/index.html

On 21 February 2015 at 09:24, Sagar Shah sagarshah1983@gmail.com wrote:

Appreciate your inputs!
Is there any other API that can help me in searching the input text across
multiple fields and return results?
Please advise.

Thanks.

On Fri, Feb 20, 2015 at 2:59 PM, Mark Walkom markwalkom@gmail.com wrote:

Get only retrieves the document, so no you cannot use that to search.

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-get.html#docs-get

On 21 February 2015 at 04:18, Sagar Shah sagarshah1983@gmail.com wrote:

Hello everyone,
I am working on a search API to find results from elastic search.
I have a text entry input from user, which I need to search in elastic
search across multiple fields (or rather all fields) within the JSON that
was pushed and indexed.
Can I use GET API of elastic search to search the text across multiple
fields? I do not prefer to specify each and every field in my search query
as there would be many fields in my json to search the data from?
Please clarify.

Appreciate your inputs.

Regards,
Sagar Shah

--
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/8da87acf-5b16-4148-8a17-93be32b55757%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/8da87acf-5b16-4148-8a17-93be32b55757%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/kECiIqyrcoM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAEYi1X86xO3X9hnD9aA%2BXtBjzZZ3umpTTJTzYdRyEOij0F_peA%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAEYi1X86xO3X9hnD9aA%2BXtBjzZZ3umpTTJTzYdRyEOij0F_peA%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--

Regards,
Sagar Shah

Too many people think more of security instead of opportunity. They seem
more afraid of life than death!!!

--
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/CANZnv5jvEYtJLBqWHoOVGp373puW9PAx2ak%3DZUPdsQOhmb-P%2Bw%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CANZnv5jvEYtJLBqWHoOVGp373puW9PAx2ak%3DZUPdsQOhmb-P%2Bw%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/CAEYi1X9ONAzQtH2j%2BzKbu819QDKZ7%2B-x%2BTSjn2Ss%2B12HxXe9aA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.