You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2013/01/07 23:38:13 UTC
[jira] [Created] (SOLR-4281) fix log watcher to not be dependent on
the schema.xml
Hoss Man created SOLR-4281:
------------------------------
Summary: fix log watcher to not be dependent on the schema.xml
Key: SOLR-4281
URL: https://issues.apache.org/jira/browse/SOLR-4281
Project: Solr
Issue Type: Improvement
Reporter: Hoss Man
SOLR-3829 tracks a bug a user unconvered with the "LogWatcher" functionality of the UI if/when there was a wildcard "\*" dynamicField -- the underlying crux of the problem being that the LogWatcher returns log data to the lcient as if each log message was a SolrDocument, and the QueryResponseWriter processes those SolrDocuments according to the rules of the schema (ie: multivalued="true", etc...)
steffkes worked arround this specific problem in SOLR-3829 by using the first value of multiple values -- but this really just helps the semi-common case of people with an "ignored" or "string" multivalued catchall dynamicField -- the underlying problem is still a risk if any of the field names in these log messages happen to match field names in the schema using incompatible types (ie: fields that are declared numeric but the LogWatcher uses string data)
we need to change the LogWatcher to return these log messages using simple Map<String,String> or NamedList<String,String> data instead of fake SolrDocument objects
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org