Skip to content

docs(synonyms): add synonym list to redirect searches with no results #10163

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

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

gforsyth
Copy link
Member

@gforsyth gforsyth commented Sep 18, 2024

We get a list of "missed searched" from Algolia and we can add synonyms
that will point to "better" search terms. Some times we can't know the
right context for the missed searches, but these two seemed obvious and
the list can grow with time.

Fixes #10084.

# A list of search terms that have (historically) not returned results
# that we can map to existing search terms that we know are good
"md5": ["hashbytes"],
"fetchdf": ["to_pandas", "to_polars", "to_pyarrow"],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a place we would want to handle better routing of "unique" -> "distinct"? Or is that a docstring change in the distinct doc to increase the search relevance there?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a place to add that, so if someone searches unique the top hit would be distinct. I'll add that.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, actually, let me test this because I want to see if this just adds distinct or if it eliminates the valid unique on Arrays

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awwwww yeaaahhhh

2024-09-18_12-20

Copy link
Member

@cpcloud cpcloud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, ONE_WAY_SYNONYMS seems like it could get quite large 👀

@cpcloud cpcloud added this to the 10.0 milestone Sep 18, 2024
@cpcloud cpcloud added the docs Documentation related issues or PRs label Sep 18, 2024
@gforsyth
Copy link
Member Author

Nice, ONE_WAY_SYNONYMS seems like it could get quite large 👀

BIGGER EVERY DAY

We get a list of "missed searched" from Algolia and we can add synonyms
that will point to "better" search terms.  Some times we can't know the
right context for the missed searches, but these two seemed obvious and
the list can grow with time.
@cpcloud cpcloud merged commit 78fd5c6 into ibis-project:main Sep 18, 2024
76 checks passed
@gforsyth gforsyth deleted the synonyms branch September 18, 2024 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation related issues or PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docs: how to get unique values of a column of any type
3 participants