This question already has an answer here:
- SOLR datetime fields not readable 1 answer
I'm on Solr 4.10.4, Sitecore 8.1 160519.
I have a custom index defined the following way:
<field fieldName="date_of_birth" returnType="datetime" type="MyProject.Search.ComputedFields.ParsedDateOfBirth,MyProject.Search"> <name>date of birth</name> </field>
I make sure that the "ParseDateOfBirth" returns a valid date - I tried with both a DateTime object or a string - and in either case I get the following result after inspecting the index with Luke:
What am I doing wrong?