TYPO3 indexed_search does not index the page

2019-08-18 04: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

3条回答
Summer. ? 凉城
2楼-- · 2019-08-18 05:14

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.

查看更多
Lonely孤独者°
3楼-- · 2019-08-18 05:26

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.

查看更多
相关推荐>>
4楼-- · 2019-08-18 05:36

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/

查看更多
登录 后发表回答