SOLR Update Notes

Source: Internet
Author: User
Tags solr

Resources:

Http://wiki.apache.org/solr/ExtractingRequestHandler#Sending_documents_to_Solr

/update

Standard update request handler for Xml,json,csv or Javabin file types

<requesthandler name="/update"class="SOLR. Updaterequesthandler">     <lst name="defaults">        < Str name="update.chain">uuid</str>     </lst>      </ Requesthandler>

/update/extract

In addition to the above standard files, this configuration can be used to index files

Dependency Packages

  <lib dir= ". /.. /dist/"regex=" Apache-solr-cell-\d.*\.jar "/>  <lib dir=". /.. /contrib/extraction/lib "regex=". *\.jar "/>

General configuration

<requesthandler name="/update/extract"Startup="Lazy"                  class="Solr.extraction.ExtractingRequestHandler"> <lst name="Defaults"> <str name="XPath">/xhtml:html/xhtml:body/descendant:node () </str> <str name="Capture">content</str> <str name="Fmap.meta">attr_meta_</str> <str name="Uprefix">attr_</str> <str name="Lowernames">true</str> <str name="Update.chain">uuid</str> </lst></requestHandler>

SOLR Update Notes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.