Skip to content

Conversation

deiviic
Copy link
Contributor

@deiviic deiviic commented Oct 31, 2022

Ticket: https://wunder.atlassian.net/browse/HYTV-170

When Global search index is re-indexed, it produces the following warning:

[warning] An overlong word (more than 50 characters) was encountered while indexing: namedschainsnodespacefieldcampusfieldreservationinstructions.<br />Since database search servers currently cannot index words of more than 50 characters, the word was truncated for indexing. If this should not be a single word, please make sure the "Tokenizer" processor is enabled and configured correctly for index Global spaces search.

Changes:

  • Removed the "-" character from the tokenizer "ignore characters" filter;

After changes:

>  [notice] Successfully indexed 50 items on Global spaces search.
>  [notice] Successfully indexed 100 items on Global spaces search.
>  [notice] Successfully indexed 150 items on Global spaces search.
>  [notice] Successfully indexed 200 items on Global spaces search.
>  [notice] Successfully indexed 250 items on Global spaces search.
>  [notice] Successfully indexed 300 items on Global spaces search.
>  [notice] Successfully indexed 350 items on Global spaces search.
>  [notice] Successfully indexed 400 items on Global spaces search.
>  [notice] Successfully indexed 450 items on Global spaces search.
>  [notice] Successfully indexed 500 items on Global spaces search.
>  [notice] Successfully indexed 550 items on Global spaces search.
>  [notice] Successfully indexed 600 items on Global spaces search.
>  [notice] Successfully indexed 650 items on Global spaces search.
>  [notice] Successfully indexed 700 items on Global spaces search.
>  [notice] Successfully indexed 750 items on Global spaces search.
>  [notice] Successfully indexed 800 items on Global spaces search.
>  [notice] Successfully indexed 850 items on Global spaces search.
>  [notice] Successfully indexed 900 items on Global spaces search.
>  [notice] Successfully indexed 950 items on Global spaces search.
>  [notice] Successfully indexed 1000 items on Global spaces search.
>  [notice] Successfully indexed 1050 items on Global spaces search.
>  [notice] Successfully indexed 1100 items on Global spaces search.
>  [notice] Successfully indexed 1136 items on Global spaces search.
>  [notice] Message: Successfully indexed 868 items.
>
>  [notice] Message: Successfully indexed 1136 items.

How to test:

  • Compare search ( What kind of facility do you need? ) results between testing and production environment. Shouldn't be any noticeable differences.

@deiviic deiviic requested a review from misterjoonas October 31, 2022 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants