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 returns too many results #261

Open
Popolechien opened this issue Jun 22, 2022 · 2 comments
Open

Search returns too many results #261

Popolechien opened this issue Jun 22, 2022 · 2 comments

Comments

@Popolechien
Copy link

Popolechien commented Jun 22, 2022

Currently searching for string toto returns all results pages including toto, including comments and answers.

Considering that the snippets of text shown are too short / not always very clear, it might be helpful to limit the results page to only return questions that include the target string.

Then if no match is met the results page could return the pages that include toto, meaning there would be a two-step/two-layers results page: top focusing on questions, bottom (or after some divider) showing all other pages that contain target string.

@rgaudin
Copy link
Member

rgaudin commented Jun 22, 2022

I disagree with your diagnostic and solution but agrees on the root cause: search is a bit of a pain to use in its current form while being the recommended way to access posts.

SO's advanced search feature is great and ideally, we'd need something similar:

Screen Shot 2022-06-22 at 13 40 59

Search results helps figure out which result to click on:

Screen Shot 2022-06-22 at 13 41 34

  • searches on Question title (that's a lot different than searching on whole question). Kiwix suggestions only work on exactly matching string LTR so it's useless in this case.
  • shows date which is highly valuable
  • shows language tags helping identifying if relevant or not
  • shows score and number of answers informing about potential outcome
  • can be sorted by score or date

Advanced-search-like feature is unlikely to happen in the foreseeable future but returning result snippets with this information would be a huge improvement… that's not possible ATM as we only have control over what-to-index (we don't currently but should soon)… but that might be a path to improvement in Kiwix.

@stale
Copy link

stale bot commented May 26, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

@stale stale bot added the stale label May 26, 2023
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

2 participants