TYPO3 indexed_search does not index the page

自闭症网瘾萝莉.ら 提交于 2019-12-11 17:31:53

问题


In my TYPO3 6.2.31 page I try to get indexed_search working.

In Backend it looks good, Search Page form is implemented as well.

Problem is the page will not get indexed.

Any ideas?

Update

in template I have this:

<!--  main content anfang  -->
<main role="main" class="maininhalt">
<!--TYPO3SEARCH_begin-->
###CONTENTMAIN###
<!--TYPO3SEARCH_end-->
</main>
<!--  main content ende  -->

and in typoscript setup:

page.config.index_enable = 1

回答1:


After some Teamviewer investigations we found the problem:

It was caused by the language configuration in the system. The system only had one language but was configured as the following:

config {
  sys_language_uid = 1 // Instead of "0" if there is only one language
  sys_language_mode = content_fallback
  sys_language_overlay = hideNonTranslated
}

Somehow this caused the indexed_search to not index the content. After removing sys_language_mode and sys_language_overlay the indexing worked as expected.




回答2:


Index is filled only if cache is filled.
As long as you are logged in in BE all calls to FE are uncached.
Either use a crawler to get your complete site indexed or use another browser to fill the cache/ index.

Is your content / are your pages in general cachable?

Other possibility for missing index: is the configuration ok?
have you set?

config.index_enable = 1

or

page.config.index_enable = 1

Have you included the markers which control indexing and used correctly?
The markers are <!--TYPO3SEARCH_begin--> and <!--TYPO3SEARCH_end-->.
If you don't use it the complete page is indexed.

Is there anything indexed (you may search for non indexed words)?
Look into the info module to see whether there are pages with indexed content.


You may have a look into the manual:
https://docs.typo3.org/typo3cms/extensions/indexed_search/




回答3:


In your other topic regarding the caching problem I've seen inside the adminPanel that you've got some Frontend-User-(Group)s. typo3 does not cache the page

As mentioned by Bernd: Please try to open your site in some kind of inkognito-mode of your browser without logging in to the TYPO3 backend and without beeing logged in as Frontend-User. After that check if your index has been updated.



来源:https://stackoverflow.com/questions/46090238/typo3-indexed-search-does-not-index-the-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!