[ https://issues.apache.org/jira/browse/SOLR-2838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tommaso Teofili resolved SOLR-2838. ----------------------------------- Resolution: Fixed Fix Version/s: 4.0 Assignee: Tommaso Teofili fixed on trunk at r1364940 and on branch_4x at r1364944 > use preferable default for langid.idField > ----------------------------------------- > > Key: SOLR-2838 > URL: https://issues.apache.org/jira/browse/SOLR-2838 > Project: Solr > Issue Type: Improvement > Components: contrib - LangId > Affects Versions: 3.5, 4.0-ALPHA > Reporter: Koji Sekiguchi > Assignee: Tommaso Teofili > Priority: Trivial > Fix For: 4.0 > > Attachments: SOLR-2838.patch > > > langid.idField is used for logging purpose in langid. If it is not set, "id" > is set as default. But if no id field is there and the parameter is likely > "hidden" and therefore indiscernible for users, those users got undesirable > warnings in the log: > {noformat} > WARNING: Document *null* does not contain input field subject. Skipping this > field. > {noformat} > As we can access IndexSchema in initParams(), why don't we use uniqueKey > field as the default. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org