wiring_stackid . nesting is denoted by underscore not period, in solr /chef search queries
Hi, I am running the following 2 queries
First query says give me the nested attribute wiring.stackid of all nodes with
role mq. The output is as expected.
knife search node 'roles:mq' -a wiring.stackid
2 items found
us1-sn1-rmq5:
wiring.stackid: 97a2205a-87ec-11e4-9440-ae7ba1a65649
us1-sn1-rmq4:
wiring.stackid: 791d001c-87da-11e4-9560-ae7ba1a65649
The second query is a more surgical query which says give me the node with a
particular nested attribute wiring.stackid value. If you see the nested
attribute value is taken from the previous query.
knife search node 'wiring.stackid:97a2205a-87ec-11e4-9440-ae7ba1a65649'
0 items found
Why des the second query show zero output when the first query shows there is
clearly a node with nested attribute
wiring.stackid:97a2205a-87ec-11e4-9440-ae7ba1a65649 ?
Regards
Archive powered by MHonArc 2.6.16.