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

Ability to provide WARN logging in SolrCore.Request via config

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 6.4.1
    • None
    • None

    Description

      It would be great if requestHandlers would support a similar threshold logging as slowQueryThresholdMillis in the query component.

      This would then allow us to skip the verbose query logging via log4j.logger.org.apache.solr.core.SolrCore.Request and only report on queries exceeding a QTime threshold:

      2017-02-14 11:16:52.497 INFO  [searchsuggestions]  webapp=/solr path=/select params={q=SuggestionText:786+cell&fl=SuggestionText+DataSource+UserId+TradeMainImageURL&start=0&q.op=AND&sort=SearchRequests+desc&fq=-Text:786\+cell&timeAllowed=50&rows=5&wt=xml&version=2.2} hits=4 status=0 QTime=1
      2017-02-14 11:16:52.595 INFO  [searchsuggestions]  webapp=/solr path=/select params={spellcheck.collateExtendedResults=true&spellcheck.q=co2+pistol&spellcheck=true&spellcheck.maxCollations=3&suggestionCount=5&spellcheck.count=10&rows=0&wt=xml&version=2.2&spellcheck.collate=true} hits=0 status=0 QTime=0
      2
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            tech@bidorbuy.co.za bidorbuy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: