lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tommaso Teofili (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2838) use preferable default for langid.idField
Date Tue, 24 Jul 2012 09:00:36 GMT

    [ https://issues.apache.org/jira/browse/SOLR-2838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421277#comment-13421277
] 

Tommaso Teofili commented on SOLR-2838:
---------------------------------------

I think this makes sense, now fixing the tests accordingly (the passed SolrCore should not
be null)
                
> 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
>            Priority: Trivial
>         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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message