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
            Reporter: Koji Sekiguchi
            Priority: Trivial


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to