Closed ohtwadi closed 4 years ago
I suspect it works, but a title gets added when the document is parsed and a title is extracted (adding to the one you created with DOMTagger. Your workaround is a good one, or you can also look at ForceSingleValueTagger as a post-parse handler.
Hello,
I wanted to set the title to a specific div, but noticed that using the DOMTagger with overwrite="true" actually appends the new value to the existing value in title field.
I'm working around this by copying to a temp field and then copying that temp field to the actual title field. CopyTagger respects overwrite=true just fine.