You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there is an issue when the document mapping is created for the index. This is causing all document field types to be set to "text" instead of integer, date etc. This is causing date sorting to not work for search results. It is also causing strange result behaviour.
Also to make it worse, this condition happens on a real site, but does not happen for unit tests. The unit tests get the document created correctly.
The mechanism that causes this issue, is if indexing is run the first time without explicitly marking the index job as fullindex then the document mapping will be incorrectly created.
This will happen generally when the plugin is installed and we let the Moodle scheduled task run without first running the index job via the cli.
Currently there is an issue when the document mapping is created for the index. This is causing all document field types to be set to "text" instead of integer, date etc. This is causing date sorting to not work for search results. It is also causing strange result behaviour.
Also to make it worse, this condition happens on a real site, but does not happen for unit tests. The unit tests get the document created correctly.
Real site document mapping
Unit test document mapping
The text was updated successfully, but these errors were encountered: