lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (@MITRE.org)" <DSMI...@mitre.org>
Subject Indexing a Reader instead of a String to a field value
Date Mon, 10 May 2010 14:11:48 GMT

I have a DIH setup in which I obtain a java.io.Reader for a field's value. 
It's a reader because I'm getting it from a source that may store a lot of
text.  I traced the value of a field, stored for quite some time as an
Object, through Solr until it got to Solr's DocumentBuilder line ~272 which
calls toString() on it.  I recall in the past dealing with Lucene I could
use a Reader.  Is there some reason Solr insists on a String?

~ David

-----
 Author: https://www.packtpub.com/solr-1-4-enterprise-search-server/book
-- 
View this message in context: http://lucene.472066.n3.nabble.com/Indexing-a-Reader-instead-of-a-String-to-a-field-value-tp789088p789088.html
Sent from the Solr - Dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message