Hi, I am running Solr 8.11. As per the Solr documentation, any value starting with "1","t" or "T" for a boolean field is interpreted as true.
https://solr.apache.org/guide/8_11/field-types-included-with-solr.html#recommended-field-types However, I hit a potential Solr bug where if the String value "1","t" or "T" is passed in an atomic update, it is treated as false. //Eg:Below document is indexed first => query returns "inStock" as true (as expected) { "id":"test", "inStock":"true" } //Follow above update with below atomic update and commit. => inStock becomes false in query result { "id":"test", "inStock":{"set":"1"} } This doesn't happen though if value "1" is passed in a regular update. Eg:Below update reflects the value of inStock as true when queried. { "id":"test", "inStock":"1" } I tried to look for any existing JIRAs for this issue but couldn't find one. So I wanted to float it in the community before creating one to avoid possible duplicate tickets. Please let me know if I should create one. Also, I identified the bug and would like to submit a PR. Thanks, Rahul
