lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Claude Dauphin <>
Subject Indexing a date from a POJO
Date Mon, 07 Feb 2011 11:44:46 GMT

I would like to know if the code below  is correct, because the date is not
well displayed in Luke

I have a POJO with a date defined as follow:

public class SolrPositionDTO {

  private String address;

  private Date beginDate;

And in the schema config file the field is defined as:
<field name="beginDate" type="date" indexed="true" stored="true" />

Thanks in advance for yr help

Jean-Claude Dauphin

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