You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "MANISH KUMAR (JIRA)" <ji...@apache.org> on 2013/12/12 14:33:07 UTC

[jira] [Closed] (SOLR-5544) Log spamming by DefaultSolrHighlighter

     [ https://issues.apache.org/jira/browse/SOLR-5544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

MANISH KUMAR closed SOLR-5544.
------------------------------

    Resolution: Not A Problem

I spotted the discrepancy in my configuration file.

Not really a bug. Closing the JIRA.

> Log spamming by DefaultSolrHighlighter
> --------------------------------------
>
>                 Key: SOLR-5544
>                 URL: https://issues.apache.org/jira/browse/SOLR-5544
>             Project: Solr
>          Issue Type: Improvement
>          Components: highlighter
>    Affects Versions: 4.0
>            Reporter: MANISH KUMAR
>            Priority: Minor
>
> In DefaultSolrHighlighter.java
> The method useFastVectorHighlighter has
>  log.warn( "Solr will use Highlighter instead of FastVectorHighlighter because {} field does not store TermPositions and TermOffsets.", fieldName );
> Above method gets called each field and there could be cases where TermPositions & TermOffsets are not stored.
> The above line causes huge spamming of logs.
> It should be at max a DEBUG level log which will give flexibility of turning it off in production environments.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org