You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Jack Krupansky <ja...@basetechnology.com> on 2013/08/27 19:40:24 UTC

Typo: "solr/logging/watcher/int[@name='threshold']" - "int" s.b. "str"

In ConfigSolrXml#fillPropMap of branch_4x I see

propMap.put(CfgProp.SOLR_LOGGING_WATCHER_THRESHOLD, 
doSub("solr/logging/watcher/int[@name='threshold']"));

The threshold is supposed to be a keyword like "INFO" (logging level), not a 
number, so "int" should be "str", I think:

propMap.put(CfgProp.SOLR_LOGGING_WATCHER_THRESHOLD, 
doSub("solr/logging/watcher/str[@name='threshold']"));

I don't know if that actually changes anything though since the property 
value will always be a string.

-- Jack Krupansky 


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