You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2009/05/20 17:13:39 UTC
[Solr Wiki] Trivial Update of "ExtractingRequestHandler" by EricPugh
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by EricPugh:
http://wiki.apache.org/solr/ExtractingRequestHandler
The comment on the change is:
fix link now that tika is no longer incubated!
------------------------------------------------------------------------------
* Tika will automatically attempt to determine the input document type (word, pdf, etc.) and extract the content appropriately. If you want, you can explicitly specify a MIME type for Tika wth the stream.type parameter
* Tika does everything by producing an XHTML stream that it feeds to a SAX !ContentHandler.
* Solr then implements a !SolrContentHandler which reacts to Tika's SAX events and creates a !SolrInputDocument. You can override the !SolrContentHandler. See the section below on Customization.
- * Tika produces Metadata information according to things like !DublinCore and other specifications. See the Tika javadocs on the Metadata class for what gets produced. <!> TODO: Link to Tika Javadocs <!> See also http://incubator.apache.org/tika/formats.html
+ * Tika produces Metadata information according to things like !DublinCore and other specifications. See the Tika javadocs on the Metadata class for what gets produced. <!> TODO: Link to Tika Javadocs <!> See also http://lucene.apache.org/tika/formats.html
* We can map Tika's metadata fields to Solr fields. We can boost these fields
* We can also pass in literals.
* We can apply an XPath expression to the Tika XHTML by passing in the ext.xpath parameter (described below). This restricts down the events that are given to the !SolrContentHandler. It is still up to the !SolrContentHandler to process those events.