Hi I have a SOLR (4.7.1) tire DateField with dates. I would like to retrieve the values of this field via a custom lucene collector. For String fields I use the following pattern
BinaryDocValues field = FieldCache.DEFAULT.getTerms(ctx.reader(), "entitledsites",false); in setNextReader() method, and then use BytesRef t = new BytesRef(); field.get(doc, t); if (t.bytes != BytesRef.EMPTY_BYTES) {