Thanks Shawn! That was just a small fix from my side. Thanks for your help!
On Tue, Feb 20, 2018 at 1:43 AM, Shawn Heisey <apa...@elyograg.org> wrote: > On 2/19/2018 8:49 AM, Aakanksha Gupta wrote: > > Thanks for the quick solution. It works. I just had to replace %20 to > space > > in query.addFilterQuery("timestamp:[1518908400000 TO 1518912000000]"); > > > > Thanks a ton! :) > > Right, I didn't even really look closely at what was in the fq > parameter, I just copied it. :) Sorry about that -- if I'd looked > better, I would have seen that what I was sending wouldn't work. > > SolrJ will handle the URL encoding for you, so it would have URL encoded > the URL encoding, and Solr would receive the fq parameter with the %20 > intact. > > Glad you figured it out even with my mistake! > > Thanks, > Shawn >