Erik Hatcher napsal(a):
QueryParser attempts to parse the from and to strings as simple date
formats with the default locale. You would use something like
"created:[01/01/04 TO 07/05/05]".
Please read up on the issues that the default date handling poses
though. Simply indexing with
On Jul 6, 2005, at 11:29 AM, Leos Literak wrote:
I've added to index date field:
public Field setCreated(Date date) {
Field field = Field.Keyword(CREATED, date);
document.add(field);
return field;
}
Now I try to search according to documentation:
created:[20040