在露天5.0中为文件重新索引 [英] Reindex a file in alfresco 5.0

查看:74
本文介绍了在露天5.0中为文件重新索引的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只想重新索引文件,我正在使用此api https:// localhost:8443 / solr4 / admin / cores?action = REINDEX& nodeid = 983
,但我无法重新编制索引。任何人都可以告诉我如何重新编制索引一份文件 ?
我正在使用alfresco 5.0。

I just want to re-indexed a file,I am using this api "https://localhost:8443/solr4/admin/cores?action=REINDEX&nodeid=983" but i could not re-indexed.Can any one tell how can i re-indexed a file ? I am using alfresco 5.0.

推荐答案

您应该可以使用管理控制台查看错误节点的数量并确认确实有错误。

You should be able to see the count of error nodes using your admin console and confirm that something really is in error.

您提到的操作是正确的操作(还有更多操作,请查看官方文档),但是如果节点是

The action you mentioned is the right one (there are a few more, check the official documentation), but if the node is not reindexed, the action obviously fails.

我建议您提高SOLR日志级别并了解更多信息。

I suggest you raise the SOLR log level and find out more.

以我的经验,当发生这种情况时,它几乎总是与JSON解析有关。查看本教程,也许它将使您更接近解决方案。

In my experience, when something like this happens it almost always has to do with JSON parsing. Check out this tutorial, maybe it will bring you closer to the solution.

http://alfresco.blog.redpill-linpro.com/2015/04/30/如何调试solr例外警告alfresco-part-2 /

这篇关于在露天5.0中为文件重新索引的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆