lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robust Links <pey...@robustlinks.com>
Subject Custom solr.TrieDateField collector
Date Mon, 18 Aug 2014 14:28:15 GMT
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) {

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