lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayesh Shende (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-10781) Remove innerText of <Script> and <Style> if present inside <Body> during indexing using DATA_WEB_MODE
Date Sat, 10 Jun 2017 10:47:18 GMT

    [ https://issues.apache.org/jira/browse/SOLR-10781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16045486#comment-16045486
] 

Jayesh Shende commented on SOLR-10781:
--------------------------------------

Solr's custom HTMLHandler is keeping the Style and Script in content field of documents in
index. 

> 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: master (7.0), 6.7
>
>   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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message