While using SOLRJ I would like to know how can I convert SolrQuery object to its URL representation with SOLR query syntax. I tried to use .toString() method but it doesnt return proper query representation. Is there some other way how to do it?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
SolrJ (tested version 6.6.0 ) it is:
I recommend ClientUtils.toQueryString for this matter.
Within the source code of HttpSolrServer you can see that this is used by the Solrj code itself for this reason.