public class StripNonCharSolrContentHandlerFactory extends SolrContentHandlerFactory
SolrContentHandler and associated factory that strips non-characters and trims on output.
This prevents exceptions on parsing integer fields inside Solr server.dateFormats| Constructor and Description |
|---|
StripNonCharSolrContentHandlerFactory(Collection<String> dateFormats) |
| Modifier and Type | Method and Description |
|---|---|
SolrContentHandler |
createSolrContentHandler(org.apache.tika.metadata.Metadata metadata,
SolrParams params,
IndexSchema schema) |
public StripNonCharSolrContentHandlerFactory(Collection<String> dateFormats)
public SolrContentHandler createSolrContentHandler(org.apache.tika.metadata.Metadata metadata, SolrParams params, IndexSchema schema)
createSolrContentHandler in class SolrContentHandlerFactoryCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.