Hi Krishna

I haven't used date range queries myself. But if Solr only supports a
particular date format, you can write a thin client for queries, which will
convert the date to solr's format and query solr.

Nawab

On Thu, Aug 17, 2017 at 7:36 AM, chiru s <chiru1...@gmail.com> wrote:

> Hello guys
>
> I am working on Apache solr and I am stuck with a use case.
>
>
> The input data will be in the documents like 2017/03/15 in 1st document,
>
> 2017/04/15 in 2nd doc,
>
> 2017/05/15 in 3rd doc,
>
> 2017/06/15 in 4th doc so on
>
> But while fetching the data it should fetch like 03/15/2017 for the first
> doc and so on.
>
> My requirement is like this ..
>
>
> The data is like above and when I do an fq with name:[2017/03/15 TO
> 2017/05/15] it fetches me the 1st three documents.. but the need the data
> as 03/15/2017 instead of 2017/03/15.
>
>
> I tried solr.pattetnReplaceCharFilterFactory but it doesn't seem working..
>
> Can you please help on the above.
>
>
> Thanks in advance
>
>
> Krishna...
>

Reply via email to