[
https://issues.apache.org/jira/browse/SOLR-5636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13875779#comment-13875779
]
Mark Miller commented on SOLR-5636:
-----------------------------------
The DOM is all in memory, so I would guess it was not a huge hit, but I have
not measured.
> SolrRequestParsers does some xpath lookups on every request.
> ------------------------------------------------------------
>
> Key: SOLR-5636
> URL: https://issues.apache.org/jira/browse/SOLR-5636
> Project: Solr
> Issue Type: Bug
> Reporter: Mark Miller
> Assignee: Mark Miller
> Priority: Minor
> Fix For: 5.0, 4.7
>
> Attachments: SOLR-5636.patch
>
>
> This seems a bit wasteful for one, but also, under heavy load, with lots of
> cores on a node, I've seen this xpath parsing randomly fail with weird
> nullpointer exceptions. Perhaps depends on the xml parser you end up using.
> Anyway, it's easy to work around and avoid the parsing everytime
> solrdispatchfilter is hit by just doing it up front once.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]