Erick,

Good Evening!!

A question further on the below. If schema-oriented design is recommended
for production systems, then how should we design such that it production
systems would cater for inevitable schema changes? Should we reindex the
data and rebuild the collections again?

Thanks


On 6 July 2018 at 15:50:57, Erick Erickson (erickerick...@gmail.com) wrote:

"df" is not defaultFieldType, it's the default search field.

It looks like you're using "schemaless" mode. defaultFieldType is part
of that process.

Incidentally, we don't recommend schemaless for production systems as
it has to make assumptions about how you want to search. It's fine for
getting started, but for production it's usually better to take
control of your schema explicitly.

Best,
Erick

On Fri, Jul 6, 2018 at 6:41 AM, neotorand <neotor...@gmail.com> wrote:
> Hi List,
> I am unable to create a core.Unable to figure out what wrong.
> I get below error.
>
> ERROR: Failed to create collection 'XXXXXXX' due to:
>
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error
> from server at
> http://xyz.com:8983/solr:
> Error CREATEing SolrCore 'docpocc_shard1_replica1':
> Unable to create core [docpocc_shard1_replica1] Caused by: Missing
required
> init param 'defaultFieldType'
>
> in my solr config file i have the init param as below
>
> <initParams
> path="/update/**,/query,/select,/tvrh,/elevate,/spell,/browse">
> <lst name="defaults">
> <str name="df">_text_</str>
> </lst>
> </initParams>
>
> Any help or pointers.Thanks in advance.
>
>
> Regards
> Neo
>
>
>
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to