lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aakanksha Gupta <aakankshagupta2...@gmail.com>
Subject Re: Help required with SolrJ
Date Wed, 21 Feb 2018 12:40:35 GMT
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 <apache@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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message