org.kitesdk.morphline.solrcell
Class StripNonCharSolrContentHandlerFactory

java.lang.Object
  extended by org.apache.solr.handler.extraction.SolrContentHandlerFactory
      extended by org.kitesdk.morphline.solrcell.StripNonCharSolrContentHandlerFactory

public class StripNonCharSolrContentHandlerFactory
extends org.apache.solr.handler.extraction.SolrContentHandlerFactory

SolrContentHandler and associated factory that strips non-characters anhd trims on output. This prevents exceptions on parsing integer fields inside Solr server.


Field Summary
 
Fields inherited from class org.apache.solr.handler.extraction.SolrContentHandlerFactory
dateFormats
 
Constructor Summary
StripNonCharSolrContentHandlerFactory(Collection<String> dateFormats)
           
 
Method Summary
 org.apache.solr.handler.extraction.SolrContentHandler createSolrContentHandler(org.apache.tika.metadata.Metadata metadata, org.apache.solr.common.params.SolrParams params, org.apache.solr.schema.IndexSchema schema)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StripNonCharSolrContentHandlerFactory

public StripNonCharSolrContentHandlerFactory(Collection<String> dateFormats)
Method Detail

createSolrContentHandler

public org.apache.solr.handler.extraction.SolrContentHandler createSolrContentHandler(org.apache.tika.metadata.Metadata metadata,
                                                                                      org.apache.solr.common.params.SolrParams params,
                                                                                      org.apache.solr.schema.IndexSchema schema)
Overrides:
createSolrContentHandler in class org.apache.solr.handler.extraction.SolrContentHandlerFactory


Copyright © 2013–2014. All rights reserved.