Hi,

I'm using Solr 9.3.0(Java 11).

About TermsComponent.
When specifying JSON or XML with wt parameter, the expected response
is returned.
But when specifying CSV, only all field names are returned. No data is returned.
What is the solution to this problem?

 DATA's
- URL
https://xxxx/solr/instance_name/terms?terms=true&terms.fl=body&terms.limit=1000&terms.sort=count&wt=csv
- Field definitions in managed_schema
<field name="_root_" type="string" indexed="true" stored="false"/>
<field name="_version_" type="long" indexed="false" stored="false"
docValues="true"/>
<field name="id" type="string" indexed="true" stored="true"
required="true" multiValued="false" />
<field name="keyphrase" type="string" multiValued="true"
indexed="true" stored="true"/>
<field name="category" type="string" indexed="true" stored="true"
docValues="true"/>
<field name="date" type="date" indexed="true" stored="false"/>
<field name="url" type="string" indexed="true" stored="true"
multiValued="false"/>
<field name="body" type="text_ja" indexed="true" stored="true"
multiValued="true"/>
<field name="body_exact" type="text_ja_exact" indexed="true"
stored="true" multiValued="true"/>
<field name="body_reading" type="text_ja_reading" indexed="true"
stored="true" multiValued="true"/>
<field name="body_2g" type="text_2g" indexed="true" stored="true"
multiValued="true"/>
<field name="body_2g_exact" type="text_2g_exact" indexed="true"
stored="true" multiValued="true"/>
<field name="body_hl_alternate" type="text_ja" multiValued="true"
indexed="false" stored="true"/>
<field name="text" type="text" multiValued="true" indexed="true"
stored="false"/>
<field name="text_rev" type="text_rev" multiValued="true"
indexed="true" stored="false"/>
<field name="title" type="text_ja" indexed="true" stored="true"/>
<field name="title_exact" type="text_ja_exact" indexed="true" stored="true"/>
<field name="title_2g" type="text_2g" indexed="true" stored="true"/>
<field name="title_2g_exact" type="text_2g_exact" indexed="true" stored="true"/>
<field name="body_disease" type="string" indexed="true" stored="true"
multiValued="true"/>
<field name="body_facility" type="string" indexed="true" stored="true"
multiValued="true"/>
- Response(Unexpected)
date,title_exact,body_reading,title_2g_exact,title,body,url,body_2g_exact,body_2g,_version_,title_2g,body_exact,body_hl_alternate,id,category

Regards,
mori.

Reply via email to