[
https://issues.apache.org/jira/browse/SOLR-10781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16042231#comment-16042231
]
Jayesh Shende commented on SOLR-10781:
--------------------------------------
Are there any scenarios where we would like to index javaScript or csStyle
along with text in HTML document in same field ("content" or "text" ) for
building a search engine ?
> 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
> Labels: beginner, easyfix, starter
> Fix For: 6.6
>
> Original Estimate: 12h
> Remaining Estimate: 12h
>
> 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]