Parser configuration for Db2 Text Search
You can configure some of the settings that are used for XML search.
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.