Question

i'm using Solrj in the dao tier of my application. What i want to know is how can i get

the full query string of the request.

For example: select?q=*:*&fq=active:true

Method SolrQuery.getQuery() only returns the q=XXX part (*:* in my example)

Thx

Was it helpful?

Solution

I don't have the proper environment to test it, but SolrQuery.toString() should get you close enough.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top