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

Improve Algolia search result experience #5944

Closed
udda1996 opened this issue Nov 30, 2022 · 3 comments
Closed

Improve Algolia search result experience #5944

udda1996 opened this issue Nov 30, 2022 · 3 comments
Assignees
Labels
Area/Search Category/UIUX Issues related to the UI components and user experience. Priority/Highest Issues with the highest priority. Reason/Other None of the other reasons. Type/Improvement Improvements required on the website.

Comments

@udda1996
Copy link
Contributor

Description

Currently we don't get Ballerina.io search results due to some results prioritization issue. We need to update the configs and improve the results ranking

Related website/documentation area

Add/Uncomment the relevant area label out of the following.

Area/UIUX

Describe the problem(s)

A detailed description of the purpose of this improvement.

Describe your solution(s)

A detailed description of how this improvement will solve the problem described above.

@udda1996 udda1996 added the Type/Improvement Improvements required on the website. label Nov 30, 2022
@udda1996 udda1996 self-assigned this Nov 30, 2022
@udda1996 udda1996 moved this to In Progress in Ballerina Team Main Board Nov 30, 2022
@praneesha
Copy link

praneesha commented Nov 30, 2022

Need to address the items below with respect to the Algolia search implementation.

algolia.com/blog/ux/what-are-predictive-search-and-autocomplete/ could be helpful in configuring the items below in Algolia.

  • Implement the search hierarchy below.
  1. ballerina.io/learn
  2. ballerina.io/learn/by-example
  3. https://lib.ballerina.io/
  4. https://ballerina.io/why-ballerina/
  5. https://ballerina.io/downloads/swan-lake-release-notes/ (exclude old release notes)
  6. https://ballerina.io/downloads/
  7. ballerina.io (community, Language walkthrough, legal pages etc.)
  8. Blog.ballerina.io
  9. https://ballerina.io/spec/ (will be only 1 or 2 entries. Group the entries of the same page into one.
  • Implement a search results page presenting the categorization of the different Ballerina doc components (e.g., API Docs, BBEs, Learn pages etc.) (Refer https://www.algolia.com/search/)

  • Learn pages (including Why Ballerina)

  • Specs (crawl upto level 6 headings)

  • BBEs (crawl code comments)

  • API Docs

  • Other (Blog, Community, legal pages, download etc.)

  • All

  • Implement the search logic below.

  • Exact match with this ordering (everywhere)
    HTTP -> lib.ballerina.io

  • Partial match with this ordering (There only in BBE/Why Ballerina)
    HTTPS -> lib.ballerina.io

  • Crawl BAL file code comments in Algolia (e.g., mime, quoted identifiers)

  • Crawl keywords on the BBE HTML in Algolia. (https://www.algolia.com/doc/guides/managing-results/optimize-search-

  • Include spec.ballerina.io content in Algolia search.

  • Make Algolia to detect partial words (when searching for parse vs parsing, read vs reading)

  • Check if we have analytical support in Algolia (what are the keywords people are searching for etc.)

  • Hyperlinks are not crawled in Algolia (e.g., the word mime https://ballerina.io/learn/by-example/http-response-with-multiparts.html)

  • When I search interceptor in the search bar it suggests the Request Interceptor BBE. But when I search for constraint or serialization I could not get any link to the following newly added BBEs. The BBEs consist the exact words in them.

  1. Constraint BBE
  2. SerDes BBE
  • When we search for Slack, results appear for the word Stack also.
    search

  • Get BBEs in the search results based on the keywords included in the content of them. Website search does not suggest newly added BBEs #5505

  • Check with Algolia whether we can crawl the slides (for the Language walkthrough page) .

@praneesha
Copy link

Should address this also.

@praneesha praneesha moved this to Backlog in Ballerina Documentation Dec 8, 2022
@praneesha praneesha moved this from Backlog to In Progress in Ballerina Documentation Dec 8, 2022
@udda1996 udda1996 moved this from In Progress to On Hold in Ballerina Team Main Board Dec 15, 2022
@udda1996 udda1996 moved this from On Hold to In Progress in Ballerina Team Main Board Dec 15, 2022
@udda1996 udda1996 moved this from In Progress to On Hold in Ballerina Team Main Board Dec 16, 2022
@praneesha
Copy link

praneesha commented Dec 22, 2022

We won't be addressing the below out of the items listed in #5944 (comment).

  1. Implement the search hierarchy below.
  2. Crawl BAL file code comments in Algolia (e.g., mime, quoted identifiers)

@praneesha praneesha added the Priority/Highest Issues with the highest priority. label Jan 23, 2023
@anupama-pathirage anupama-pathirage added Area/Search Category/UIUX Issues related to the UI components and user experience. labels Feb 7, 2023
@praneesha praneesha moved this from On Hold to In Progress in Ballerina Team Main Board Mar 1, 2023
@udda1996 udda1996 closed this as completed Mar 1, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in Ballerina Team Main Board Mar 1, 2023
@udda1996 udda1996 added the Reason/Other None of the other reasons. label Mar 1, 2023
@praneesha praneesha moved this from In Progress to Done in Ballerina Documentation Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/Search Category/UIUX Issues related to the UI components and user experience. Priority/Highest Issues with the highest priority. Reason/Other None of the other reasons. Type/Improvement Improvements required on the website.
Projects
Status: Done
Development

No branches or pull requests

3 participants