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

Search on Wiki is broken #407

Open
cebe opened this issue Nov 7, 2018 · 11 comments
Open

Search on Wiki is broken #407

cebe opened this issue Nov 7, 2018 · 11 comments
Assignees
Milestone

Comments

@cebe
Copy link
Member

cebe commented Nov 7, 2018

https://www.yiiframework.com/search?version=2.0&type=wiki&q=phpstorm

bildschirmfoto von 2018-11-07 19-12-35

This should totally find https://www.yiiframework.com/wiki/865/configuring-phpstorm-ide-for-yii-2

@cebe cebe added the bug label Nov 7, 2018
@cebe cebe added this to the after launch milestone Nov 7, 2018
@cebe cebe self-assigned this Nov 7, 2018
@samdark samdark pinned this issue May 25, 2020
@softark
Copy link
Contributor

softark commented May 25, 2020

Generally a word without a capital letter will work as a search word, e.g. “bootstrap” can find “bootstrap” and “Bootstrap”, but “Bootstrap” can not find either of them.

As for “PhpStorm” which is reported in the issue, even “phpstorm” won’t work as a search word.

@marcovtwout
Copy link
Contributor

@cebe Is this fixed somewhere else? Your search query currently shows the expected result:
image

@samdark
Copy link
Member

samdark commented Dec 3, 2020

@arogachev arogachev self-assigned this Jan 14, 2022
@arogachev
Copy link
Contributor

#890 (comment)

@samdark
Copy link
Member

samdark commented Jan 19, 2022

This one is now fixed.

@samdark samdark closed this as completed Jan 19, 2022
@arogachev
Copy link
Contributor

arogachev commented Jan 20, 2022

Seems like not yet. I'm using the last link for checking https://www.yiiframework.com/search?version=2.0&type=wiki&q=Bootstrap. Locally bootstrap / Bootstrap give the same results.

@arogachev arogachev reopened this Jan 20, 2022
@arogachev
Copy link
Contributor

arogachev commented Jan 20, 2022

Called ./yii search/rebuild again. Works as expected in Docker environment.

Screenshot 2022-01-20 at 17-18-33 Yii Framework

Screenshot 2022-01-20 at 17-21-58 Yii Framework

Maybe we still have some differences between local and production environment. Note that I'm using data from production dump (2021-12-14) for testing.

@samdark
Copy link
Member

samdark commented Feb 2, 2022

Likely we can do mb_strtolower for the query.

@cebe
Copy link
Member Author

cebe commented Feb 10, 2022

Likely we can do mb_strtolower for the query.

elasticsearch should do proper tokenizing so case should not matter at all here.

@samdark
Copy link
Member

samdark commented Feb 10, 2022

But it matters.

@cebe
Copy link
Member Author

cebe commented Apr 21, 2022

that means something is wrong in our indexing or querying. need to fix that.

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

No branches or pull requests

5 participants