uery
work on them? Any ideas? Maybe my approach is completely wrong. I am still
new to Lucene so any help is appreciated.
Thank you.
Gergely Nagy
html
Thank you,
Gergely Nagy
2015-02-09 17:10 GMT+09:00 Uwe Schindler :
> Hi,
>
> > I am in the beginning of implementing a Lucene application which would
> > supposedly search through some log files.
> >
> > One of the requirements is to return results between a time ra
nd and use
> TermRangequery.
>
> With regards
> Karthik
> On Feb 9, 2015 1:24 PM, "Gergely Nagy" wrote:
>
> > Hi Lucene users,
> >
> > I am in the beginning of implementing a Lucene application which would
> > supposedly search through some log f
his:
>
> SimpleDateFormat format = new SimpleDateFormat("-MM-dd HH:mm:ss.S'Z'");
> format.setTimeZone(TimeZone.getTimeZone("UTC"));
> long t = format.parse("2015-02-08 00:02:06.123Z INFO...").getTime();
>
> Barry
>
> On Tue, Feb 1
k you for everybody for the time to respond.
2015-02-10 9:55 GMT+09:00 Gergely Nagy :
> Thank you Barry, I really appreciate your time to respond,
>
> Let me clarify this a little bit more. I think it was not clear.
>
> I know how to parse dates, this is not the question here. (See
d for dates and doing ranges). It is the same like indexing a number in
> a relational database as String and then do "like" queries instead of real
> numeric comparisons - just wrong and slow.
>
> Uwe
>
> > Thank you for everybody for the time to respond.
> >
>