How to receive part of the text field?

Hello.
There is a field with large amount of text. How I can get part of value,
such as 200KB? By analogy with the from () / size ().
Like as "Give me the first 200KB part of object with this Id"

--
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/bf664bcf-f936-4391-84d9-46cd26cefdd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

If the 200kb number is fixed, then the simplest solution would be to store
that content separately in a new field. It does not need to be analyzed,
just stored.

Perhaps highlighters might work. Never used them, so it is just a guess.

Cheers,

Ivan
On Aug 12, 2014 8:17 AM, "Dmitriy Bashkalin" bashkalin@gmail.com wrote:

Hello.
There is a field with large amount of text. How I can get part of value,
such as 200KB? By analogy with the from () / size ().
Like as "Give me the first 200KB part of object with this Id"

--
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/bf664bcf-f936-4391-84d9-46cd26cefdd6%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/bf664bcf-f936-4391-84d9-46cd26cefdd6%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/CALY%3DcQAa54%2B5hiB1R4twZ3Xwkb34QL56jHDmCzET1NNtn%2B4now%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

I imagine script field can do this.
On Aug 12, 2014 6:38 PM, "Ivan Brusic" ivan@brusic.com wrote:

If the 200kb number is fixed, then the simplest solution would be to store
that content separately in a new field. It does not need to be analyzed,
just stored.

Perhaps highlighters might work. Never used them, so it is just a guess.

Cheers,

Ivan
On Aug 12, 2014 8:17 AM, "Dmitriy Bashkalin" bashkalin@gmail.com wrote:

Hello.
There is a field with large amount of text. How I can get part of value,
such as 200KB? By analogy with the from () / size ().
Like as "Give me the first 200KB part of object with this Id"

--
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/bf664bcf-f936-4391-84d9-46cd26cefdd6%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/bf664bcf-f936-4391-84d9-46cd26cefdd6%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/CALY%3DcQAa54%2B5hiB1R4twZ3Xwkb34QL56jHDmCzET1NNtn%2B4now%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAa54%2B5hiB1R4twZ3Xwkb34QL56jHDmCzET1NNtn%2B4now%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/CAPmjWd1TYg-SS%3Df9z%3DfpYoZMyDVjv_pcnOVrmRNFa9ufq8H%2BaA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Its seems that I put wrong question.
I need get value of field piece by piece when it needed. Getting value at
once strongly inhibits execution. So separate the value into few fields
will not work.
I'll read about highlighters. Also never used them.

thx for answer)

среда, 13 августа 2014 г., 2:38:37 UTC+4 пользователь Ivan Brusic написал:

If the 200kb number is fixed, then the simplest solution would be to store
that content separately in a new field. It does not need to be analyzed,
just stored.

Perhaps highlighters might work. Never used them, so it is just a guess.

Cheers,

Ivan

--
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/63536ac6-cf95-41bb-addd-9aab00c31181%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Can You tell me about performance? If I insert into script code, which take
part of field value depending of "params"

среда, 13 августа 2014 г., 3:22:34 UTC+4 пользователь Nikolas Everett
написал:

I imagine script field can do this.

--
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/8bb46200-8fee-4aee-a633-2911336e71c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.