Parser configuration for Db2 Text Search
You can configure some of the settings that are used for XML search.
Note: From 12.5 onwards Db2 includes OpenSearch and ElasticSearch engines for Indexing. The parser
configuration setting explained here is only specific to ECMTS as text search
server. It is not applicable to OpenSearch and ElasticSearch.
All parser configuration parameters are located in the parser_config.xml file, in the XML element defining the parser, com.ibm.es.nuvo.parser.xml.XMLParser. Each parameter is specified by a Parameter element of this form:
<Parameter Name="parameter">setting</Parameter>
-
ParserName: text
-
ParserClass: com.ibm.es.nuvo.parser.text.TextParser
- The class that is invoked when the content type is textual. required.text.confidence
- Not in use. fall.back.parser
- The parser that is activated when the text parser fails, the content type is specified as unknown, and content detection identifies the content as Binary. fall.back.encoding
- The encoding that is used when the encoding is specified as unknown or null. detection.encoding.buffer.size
- The buffer size (in bytes) that is passed to the content detection mechanism to determine the encoding. The default is 2000 bytes.
-
ParserName: xml
-
titleTagNameList
- A comma separated list of tags that are handled as title fields. maxTextUnicodeChars
- Not in use. handleExternalFiles
- Not in use. handleSkippedEntities
- Not in use.