Hi,all

I would like to copy all fields to one specific single value field.
The reason is that I must use facet query.I think that
the fileld to use facet query needs not multi value but single value.

In order to achive this,I've tried to use CopyFiled in schema.xml,but
Error occured.

The Schema is as bellow.
※I'd like use facet query to "suggest_facet" field.

  <field name="title" type="text_ja" indexed="true" stored="true"/>
  <field name="author" type="text_ja" indexed="true" stored="true"/>
  <field name="body" type="text_ja" indexed="true" stored="true"/>
  <field name="suggest_facet" type="text_ja" indexed="true" stored="true" />
  <copyField source="content" dest="suggest_facet"/>
  <copyField source="title" dest="suggest_facet"/>
  <copyField source="author" dest="suggest_facet"/>
  <copyField source="body" dest="suggest_facet"/>

When I tried to index,thf following error ocuured.

2016-12-22 03:47:38.139 WARN  (coreLoadExecutor-6-thread-3) [   ]
o.a.s.s.IndexSchema Field suggest_facet is not multivalued and destination
for multiple copyFields (6)

How do I Solve this in order to  copy all fields to one specific single
value field?

Reply via email to