How to use Spring Data Solr SimpleStringCriteria for multiValued fields?

Multi tool use


How to use Spring Data Solr SimpleStringCriteria for multiValued fields?
I have Solr database with three indexed fields. Two of them are text fields and one of them is multiValued field. I have built a custom query using SimpleSearchCriteria from Spring data for Apache Solr. I am successfully able to search on the text fields but I am not able to figure how to search on the multiValued field. I went through the documentation to look for a solution. I found out that in method can be used to perform search on an iterable(multiValued field) but I am unable to figure out how to use it
Am I right in assuming that the "in method" will be useful in achieving what I want or is there some other way to do that? How can I use the "in method" if that is the only way to search on multiValued fields?
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.