Regarding the statement in fields return value for the change implemented
in v1.0:
"By always returning arrays, this simplifies user code."
Can someone please tell me how this simplifies user code? If I index an
array, I expect an array back and I have nothing more to do than fetch the
"_fields". If I index a value, say first_name, why on earth would I want to
parse through "_fields" and pull out the value from an array? Very unhappy
with this change.
It certainly didn't simplify anything for me either. For the most part its
best to switch to source filtering, spits out results similarly to how
fields used to.
Regarding the statement in fields return value for the change implemented
in v1.0:
"By always returning arrays, this simplifies user code."
Can someone please tell me how this simplifies user code? If I index an
array, I expect an array back and I have nothing more to do than fetch the
"_fields". If I index a value, say first_name, why on earth would I want
to
parse through "_fields" and pull out the value from an array? Very unhappy
with this change.
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.