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

Fixes #1738 : Search Title within discussions #1741

Merged
merged 1 commit into from
Mar 6, 2019

Conversation

bdumaspilhou
Copy link
Contributor

**Fixes #1738 **

Changes proposed in this pull request:
You can search in title discussion even if word does not appear in a post of this discussion

Reviewers should focus on:
Test searching toolbar with a word in discussion title

@franzliedke franzliedke merged commit 33deea4 into flarum:master Mar 6, 2019
@franzliedke
Copy link
Contributor

Thanks a lot! Nice find and nice fix.

I've added a regression test to prevent this from coming back.

@bdumaspilhou
Copy link
Contributor Author

bdumaspilhou commented Mar 7, 2019 via email

@Ralkage
Copy link
Contributor

Ralkage commented Mar 10, 2019

SQL being my # 1, I should of caught this myself ;-)

@tobyzerner
Copy link
Contributor

Any changes to the search engine should undergo performance testing before they are committed (or we should somehow automate that in the tests)

Unfortunately this change has a detrimental effect on performance in my rough testing - a search which previously took ~40ms now takes 3 seconds.

@franzliedke
Copy link
Contributor

Oh, sorry about that.

franzliedke added a commit that referenced this pull request Oct 26, 2019
We decided it is better to have a less intelligent search (that does not
match search terms in titles) for some people than a bad-performing
search for everyone.

We will revisit the search performance topic in the next release cycle,
possibly with larger changes around indexing.

Refs #1738, #1741, #1764.
luceos pushed a commit that referenced this pull request Feb 4, 2020
We decided it is better to have a less intelligent search (that does not
match search terms in titles) for some people than a bad-performing
search for everyone.

We will revisit the search performance topic in the next release cycle,
possibly with larger changes around indexing.

Refs #1738, #1741, #1764.
wzdiyb pushed a commit to wzdiyb/core that referenced this pull request Feb 16, 2020
wzdiyb pushed a commit to wzdiyb/core that referenced this pull request Feb 16, 2020
We decided it is better to have a less intelligent search (that does not
match search terms in titles) for some people than a bad-performing
search for everyone.

We will revisit the search performance topic in the next release cycle,
possibly with larger changes around indexing.

Refs flarum#1738, flarum#1741, flarum#1764.
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.

4 participants