Lici
Lici

Reputation: 998

Getting SolrQuery full query string

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

Upvotes: 3

Views: 4294

Answers (1)

Mauricio Scheffer
Mauricio Scheffer

Reputation: 99730

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

Upvotes: 3

Related Questions