-
Notifications
You must be signed in to change notification settings - Fork 194
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
bug: a link from the search results lead to egghead.io #250
Comments
anything we’d originally used it in our naming convention for this site for search, but had to migrate to https://share.getcloudapp.com/KoulNbZj I recorded this to try and reproduce the issue and wasn’t able to. A screen recording would be useful. |
@joelhooks - here's a recording: https://youtu.be/mGnB-L8AC28 |
this felt like an indexing anomaly so I just scripted a little cleaner to remove the objects from Algolia: import algoliasearch from 'algoliasearch'
const client = algoliasearch(APP_ID, API_SECRET)
const index = client.initIndex(INDEX_NAME)
const filter = {
hitsPerPage: 1200,
facetFilters: [
'type:-lesson',
'type:-course',
'type:-podcast',
'type:-talk',
'type:-playlist',
],
}
const results = await index.search('', filter)
const offensiveIds = results.hits
.filter((hit) => hit.type === null)
.map((hit) => hit.objectID)
console.log(offensiveIds)
await index.deleteObjects(offensiveIds) |
I've searched for one of my videos and clicked the link. I was referred to the old egghead website.
Link: https://next.egghead.io/s/javascript-profiling-a-nodejs-app-from-the-chrome-dev-tools
Steps I've taken:
The text was updated successfully, but these errors were encountered: