Jayesh Shende created SOLR-10781:
------------------------------------
Summary: Remove innerText of <Script> and <Style> if present
inside <Body> during indexing using DATA_WEB_MODE
Key: SOLR-10781
URL: https://issues.apache.org/jira/browse/SOLR-10781
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Components: contrib - Solr Cell (Tika extraction), SimplePostTool
Affects Versions: 6.5.1
Environment: Indexing websites using URL, recurvice and depth ( i.e.
in DATA_WEB_MODE )
Reporter: Jayesh Shende
Priority: Minor
Fix For: 6.6
When Indexing is done using SimplePostTool or Using SolrJ or any means, with
data source as a URL. If fetched HTML page contains <script> and <style> tags
inside <body> tag (not in <head> tag ) then after Posting document to Solr
collection using "sample_techproducts_configs" configuration, the innerText (
i.e. EMAC/JS scripts and CSS styles) remains as part of document text inside
the "content"/"text" field in Index documents.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]