简体   繁体   English

从Solr中的多值转换字段

[英]Converting field from multivalued in Solr

It looks like I accidently set the multiValued flag on a solr field (location field type) and now the geo spatial searches wont work because "can not use FieldCache on multivalued field." 好像我不小心在solr字段(位置字段类型)上设置了multiValued标志,现在地理空间搜索无法正常工作,因为“无法在多值字段上使用FieldCache”。 Is there a way to convert the field to a non multivalued field (or identify what items need to be removed). 有没有一种方法可以将字段转换为非多值字段(或标识需要删除的项目)。 I would hate to have to reindex the records. 我讨厌不得不重新索引记录。

不,您必须重新编制索引

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM