DSE create core with coreOptionsInline

159 Views Asked by At

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?

1

There are 1 best solutions below

5
Tomasz Lasica On

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