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"
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"
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"
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.