You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "bidorbuy (JIRA)" <ji...@apache.org> on 2017/02/14 09:28:41 UTC

[jira] [Created] (SOLR-10133) Ability to provide WARN logging in SolrCore.Request via config

bidorbuy created SOLR-10133:
-------------------------------

             Summary: Ability to provide WARN logging in SolrCore.Request via config
                 Key: SOLR-10133
                 URL: https://issues.apache.org/jira/browse/SOLR-10133
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: SearchComponents - other
    Affects Versions: 6.4.1
            Reporter: bidorbuy


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:

{code}
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
{code}



--
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