[
https://issues.apache.org/jira/browse/SOLR-6657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14339328#comment-14339328
]
Erick Erickson commented on SOLR-6657:
--------------------------------------
This is super-annoying since when this error is reported, one thinks that it's
important to have something here that makes sense. Looks like a one-line change
anyway.
> DocumentDictionaryFactory requires weightField to be mandatory, but it
> shouldn't
> ---------------------------------------------------------------------------------
>
> Key: SOLR-6657
> URL: https://issues.apache.org/jira/browse/SOLR-6657
> Project: Solr
> Issue Type: Sub-task
> Affects Versions: 4.8, 4.8.1, 4.9, 4.9.1, 4.10, 4.10.1
> Reporter: Varun Thacker
> Assignee: Erick Erickson
> Labels: suggester
> Fix For: 5.0, Trunk
>
>
> DocumentDictionaryFactory requires weightField to be mandatory, but it
> doesn't need to as DocumentDictionary allows it to be null
> So one has to define the weight field in the solrconfig.xml even if their
> data doesn't contain any weights. We shouldn't make the weightField mandatory
> in DocumentDictionaryFactory
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]