I just set up one index with field routing with some test data. It stores
properly with some test data.
I could see they consistently fall to the same shard with the same field
value.
However, the type of the field is integer (account_id), the method
.setRouting() takes integer as input.
when I attempt to add .setRouting(""+account_id) it returned me nothing..
(but some other random routing
could reach those shard).
how should I construct the routing correctly from an integer value?.. does
this mean field routing have to be a string type?
I just set up one index with field routing with some test data. It stores
properly with some test data.
I could see they consistently fall to the same shard with the same field
value.
However, the type of the field is integer (account_id), the method
.setRouting() takes integer as input.
when I attempt to add .setRouting(""+account_id) it returned me nothing..
(but some other random routing
could reach those shard).
how should I construct the routing correctly from an integer value?.. does
this mean field routing have to be a string type?
The information contained in this e-mail is for the exclusive use of the
intended recipient(s) and may be confidential, proprietary, and/or legally
privileged. Inadvertent disclosure of this message does not constitute a
waiver of any privilege. If you receive this message in error, please do
not directly or indirectly print, copy, retransmit, disseminate, or
otherwise use the information. In addition, please delete this e-mail and
all copies and notify the sender.
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.