You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2020/08/30 06:04:00 UTC
[jira] [Commented] (SOLR-13652) Remove update from initParams in
example solrconfig files that only mention "df"
[ https://issues.apache.org/jira/browse/SOLR-13652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17187140#comment-17187140 ]
David Smiley commented on SOLR-13652:
-------------------------------------
FWIW I'm not a fan of "df" having a default unless this is some learning configSet because not defining it will lead to an error if a user does a trivial query without specifying "df" -- and for new users, that's maybe not great. IMO real (prod) configs needn't specify it. If you write a query without specifying "df", you might very well have a typo or you should actually think of which field you want to query.
> Remove update from initParams in example solrconfig files that only mention "df"
> --------------------------------------------------------------------------------
>
> Key: SOLR-13652
> URL: https://issues.apache.org/jira/browse/SOLR-13652
> Project: Solr
> Issue Type: Improvement
> Components: examples
> Reporter: Erick Erickson
> Priority: Minor
> Labels: easyfix, newbie
>
> At least some of the solrconfig files we ship have this entry:
> <initParams path="/update/**,/query,/select,/tvrh,/elevate,/spell,/browse,update">
> <lst name="defaults">
> <str name="df">text</str>
> </lst>
> </initParams>
>
> which has lead at least one user to wonder if there's some kind of automatic way to have the df field populated for updates. I don't even know how you'd send an update that didn't have a specific field. We should remove the "update/**".
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org