lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robust Links <>
Subject Custom solr.TrieDateField collector
Date Mon, 18 Aug 2014 14:33:58 GMT

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 =

in setNextReader() method, and then use

BytesRef t = new BytesRef();

field.get(doc, t);

if (t.bytes != BytesRef.EMPTY_BYTES) {

   do somethin


in the collect() method.

What would be the appropriate way to retrieve tdate fields?

thank you

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