2 years ago
#49565
user3181915
Best way to convert a Java string to Solr criteria query
I am not well versed in java and Solr, so apologies if this is a basic question.
I have a string that I need to convert to a Solr criteria.
String rule = "(index_key_parentcategory = \"Workwear\" AND index_key_category = \"Women\" AND index_key_subcategory = \"ShortSleeve\") AND (locale IN \"en_US \")"
I want to convert the above string to Solr Criteria
using criteria in Query: org.springframework.data.solr.core.query.Criteria
Could you help me with that, please?
java
spring-boot
solr
solrj
criteriaquery
0 Answers
Your Answer