Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5636

SolrRequestParsers does some xpath lookups on every request.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.6.1, 4.7, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              markrmiller@gmail.com Mark Miller
              Reporter:
              markrmiller@gmail.com Mark Miller

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment