Skip to content

Instantly share code, notes, and snippets.

@stormworm29
Created February 10, 2020 08:02
Show Gist options
  • Save stormworm29/e9ed9dd372a92377b5c0b90bcdf34924 to your computer and use it in GitHub Desktop.
Save stormworm29/e9ed9dd372a92377b5c0b90bcdf34924 to your computer and use it in GitHub Desktop.
<requestHandler name="/update/extract"
startup="lazy"
class="solr.extraction.ExtractingRequestHandler" >
<lst name="defaults">
<str name="lowernames">true</str>
<str name="capture">h1</str>
<str name="fmap.h1">heading-one</str>
<str name="capture">h2</str>
<str name="fmap.h2">heading-two</str>
<str name="capture">li</str>
<str name="fmap.li">listing</str>
</lst>
</requestHandler>
<updateRequestProcessorChain name="remove">
<processor class="solr.RemoveBlankFieldUpdateProcessorFactory">
<lst name="exclude">
<str name="fieldRegex">.*_literal</str>
</lst>
</processor>
</updateRequestProcessorChain>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment