简体   繁体   English

在versearch上使用cfsearch的coldfusion 9返回-1705错误

[英]coldfusion 9 using cfsearch on verity returns -1705 error

I've created a collection in verity, but when I use cfsearch on it I get this error: 我已经创建了一个真实的集合,但是当我在其上使用cfsearch时,出现此错误:

Message: There was a problem executing the cfSearch tag with the following collections.

Detail: Collection (status code): asktheexpert (-1705)

I have restarted the search service to no avail. 我已重新启动搜索服务,但无济于事。

any tips? 有小费吗?

From what I can gather from various googling, this indicates some sort of index corruption, and in general people never really worked out why. 从各种谷歌搜索中可以发现,这表明某种程度的索引损坏,并且总的来说,人们从来没有真正弄清原因。 But if you purge & reindex your collection, it should go away. 但是,如果你清除和重新索引你的收藏, 应该走开。

I haven't used Verity in an age, but my experiences that most "weird errors" (one of which was this very one) were "solved" with a purge/reindex. 我已经很久没有使用Verity了,但是我的经验是,大多数“怪异错误”(其中一个就是这个)是通过清除/重新索引“解决”的。

Ref: http://www.coldfusionjedi.com/index.cfm/2006/4/5/Verity-1-Me-1705 (and others along a similar vein, but Ray's probably the most reliable). 参考: http : //www.coldfusionjedi.com/index.cfm/2006/4/5/Verity-1-Me-1705 (以及其他类似途径,但Ray可能是最可靠的)。

Are you in a position to migrate away from Verity? 您是否可以从Verity迁移? It's dead technology and will be dropped from CF in the next release. 它已经过时了,它将在下一版本中从CF中删除。 It might be a good idea to think about migrating to Solr if you haven't already got plans afoot to do so. 如果还没有计划进行迁移,考虑迁移到Solr可能是一个好主意。

EDIT: Another thing I've read today about this is that it might crop up when the collection is using one language, and the index and/or search are using different languages. 编辑:我今天读到的另一件事是,当集合使用一种语言,并且索引和/或搜索使用不同的语言时,它可能会出现。 Given you're transporting code between dev & prod, perhaps just verify that the collection language is the same as the index & search language. 假设您是在开发人员和生产人员之间传输代码,也许只需验证收集语言与索引和搜索语言相同即可。

Other than that - and my suggestions below about destroying various bits and pieces and starting again :-/ - I'm out of ideas. 除此之外-和我在下面有关销毁各种零碎碎片并重新开始的建议:-/-我没有主意。

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

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