saaia aiaas
saaia aiaas

Reputation: 51

DSE create core with coreOptionsInline

I am trying to set docValues as true on all the fields on the table to enable Sorting.

dsetool create_core keyspace.cf generateResources=true reindex=true coreOptionsInline=generate_docvalues_for_fields:'*'

But I am seeing the below error:

org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: while scanning an alias in 'string', line 1, column 32: generate_docvalues_for_fields: *

expected alphabetic or numeric character, but found but found

how do we generate SOLR core with docValues enabled for all fields?

Upvotes: 0

Views: 164

Answers (1)

Tomasz Lasica
Tomasz Lasica

Reputation: 39

Use "" to surround: coreOptionsInline="generate_docvalues_for_fields:'*'"

Upvotes: 3

Related Questions