Thanks Michael and Hoss, assuming I've written the subclass of the postings format, I need to tell Solr to use it.
Do I just do something like: <fieldType name="ocr" class="solr.TextField" postingsFormat="MySubclass" /> Is there a way to set this for all fieldtypes or would that require writing a custom CodecFactory? Tom On Mon, Jan 12, 2015 at 4:46 PM, Chris Hostetter <hossman_luc...@fucit.org> wrote: > > : It looks like this is a good starting point: > : > : http://wiki.apache.org/solr/SolrConfigXml#codecFactory > > The default "SchemaCodecFactory" already supports defining a diff posting > format per fieldType - but there isn't much in solr to let you "tweak" > individual options on specific posting formats via configuration. > > So what you'd need to do is write a small subclass of > Lucene41PostingsFormat that called "super(yourMin, yourMax)" in it's > constructor. > > > >