Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.0]: Custom search index weirdness #8176

Closed
Oldiesmann opened this issue Apr 19, 2024 · 0 comments · Fixed by #8184
Closed

[3.0]: Custom search index weirdness #8176

Oldiesmann opened this issue Apr 19, 2024 · 0 comments · Fixed by #8184
Assignees
Labels
Milestone

Comments

@Oldiesmann
Copy link
Contributor

Basic Information

While playing around with the search the other day trying to reproduce #7870 I discovered some weird issues with the custom search index - sometimes it doesn't return any results when it should and other times it doesn't return the expected results.

I have the following on my board:
A post with the word "testing"
A post with the phrase "trying to reproduce the error"
A post that quotes the "error" post (same topic)

Search tests:
Searching for "testing" - no results
Searching for "trying" - no results
Searching for "reproduce" or "error" - single result in the quote (but not the post that is being quoted)

Steps to reproduce

  1. Create some topics/posts
  2. Create a custom search index
  3. Attempt to search for various words within the posts/topics created

Expected result

Expect to find all posts/topics containing the word searched for

Actual result

Inconsistent/unexpected results (see above)

Version/Git revision

a540d9e

Database Engine

MySQL

Database Version

10.11.7-MariaDB-1:10.11.7+maria~ubu2204

PHP Version

8.3.6

Logs

No response

Additional Information

The MariaDB version doesn't seem to have any play in this. I initially ran into these issues while on MariaDB 10.6 but upgraded to MariaDB 10.11 last night (not because of this problem but because Plesk now has a feature to upgrade to the latest LTS version).
The size of the custom search index doesn't seem to make a difference here either, though this forum only has 6 posts in 3 topics so I doubt there's much if any difference between the actual index size regardless of which option you choose when creating the index.
This occurs both with the basic search and the advanced search.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants