【问题标题】:Unable to index pages in indexed_search TYPO3 6无法在 indexed_search TYPO3 6 中索引页面
【发布时间】:2013-10-22 10:45:12
【问题描述】:

我正在为我的网站使用 indexed_search, indexed_search_mysqlcrawler 扩展名。我在Crawler Configuration 下创建了一个crawler 记录并运行它。这会成功爬取所有页面。

配置index_enable and index_externals 设置为真

问题是没有任何爬取的东西出现在index 表中。 info>Indexed Search 将所有页面显示为“未编入索引”。

indexed_search 仅在 disableFrontendIndexing is set false 时有效。但为此,我必须访问每一页。

我在这里还缺少其他配置吗?

【问题讨论】:

    标签: search typo3 web-crawler indexed


    【解决方案1】:

    索引搜索仅索引缓存的页面。所以你可能想检查类似的东西

    config.no_cache = 1
    

    已设置。在这种情况下,您将不会获得任何索引。您还应该在抓取页面之前清除所有缓存,因此必须再次缓存它们。

    如果还是不行,你可以试试如果

    config.index_enable = 1
    

    page.config.index_enable = 1
    

    有什么不同。

    【讨论】:

      【解决方案2】:

      在标准配置中,爬虫仅将要索引的页面写入队列。您必须通过“添加进程”运行它。这是你做的吗?

      或通过cli:

      /usr/bin/php /var/www/example.com/typo3/cli_dispatch.phpsh crawler
      

      有一个选项可以一次性完成:

      /usr/bin/php /var/www/example.ch/typo3/cli_dispatch.phpsh crawler_im 597 -d 9 -conf yourconfititle -o exec

      有关文档中有关 cli 的更多信息:

      https://docs.typo3.org/typo3cms/extensions/crawler/ExtCrawler/ExecutingTheQueue/BuildingAndExecutingQueueRightAway(fromCli)/Index.html

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2014-05-19
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多