Elastic search Query : Is there any way to control the output of a search query

Hi folks
Is there any way to control the output of a search query.
For example
Put Query:
{
"Message Data" = "Hello dear how are you? I am going for shopping. Would
you like to have something."
}

Get Query:
how can i create my get to to retrieve value from message data till "hello
dear how are you"?

Thanks and regards
Mohit Kumar Yadav

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Hello Mohit,

If what you want is to get partial contents from fields, then I think
you're stuck with doing it from your application.

If you need to only retrieve certain fields, you can do it by specifying
which fields you want:

Best regards,
Radu

http://sematext.com/ -- Elasticsearch -- Solr -- Lucene

On Thu, Feb 14, 2013 at 11:14 AM, Mohit Kumar Yadav <
mohit.kumar.ngi@gmail.com> wrote:

Hi folks
Is there any way to control the output of a search query.
For example
Put Query:
{
"Message Data" = "Hello dear how are you? I am going for shopping.
Would you like to have something."
}

Get Query:
how can i create my get to to retrieve value from message data till "hello
dear how are you"?

Thanks and regards
Mohit Kumar Yadav

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Hi,

Not exactly sure whether it will be applicable in your case .... but script
fields might be useful for you.
You can try searching for first punctuation and trimming upto that, or
something similar depending upon your requirement.

-- Sujoy.

On Thursday, February 14, 2013 2:44:50 PM UTC+5:30, Mohit Kumar Yadav wrote:

Hi folks
Is there any way to control the output of a search query.
For example
Put Query:
{
"Message Data" = "Hello dear how are you? I am going for shopping.
Would you like to have something."
}

Get Query:
how can i create my get to to retrieve value from message data till "hello
dear how are you"?

Thanks and regards
Mohit Kumar Yadav

--
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.
For more options, visit https://groups.google.com/groups/opt_out.