It's a bit round-about but you might be able to use ExternalFileField
http://lucene.apache.org/solr/api/org/apache/solr/schema/ExternalFileField.html
The fieldType definition would look like
Then you can use frange to include/exclude certain values:
http://www.lucidimagination.com/blog/tag/
I am using Solr to index data in a SQL database. Most of the data
doesn't change after initial commit, except for a single boolean field
that indicates whether an item is flagged as 'needing attention'. So
I have a need_attention field in the database that I update whenever a
user marks an item a