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

Algolia Search Not Returning Results for Current Version; Returning Results for Other Versions #7383

Closed
6 of 7 tasks
nategoethel opened this issue May 9, 2022 · 6 comments
Labels
closed: question This issue is a user error/misunderstanding.

Comments

@nategoethel
Copy link

nategoethel commented May 9, 2022

Have you read the Contributing Guidelines on issues?

Prerequisites

  • I'm using the latest version of Docusaurus.
  • I have tried the npm run clear or yarn clear command.
  • I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
  • I have tried creating a repro with https://new.docusaurus.io.
  • I have read the console error message carefully (if applicable).

Description

On my site, if you search in either the Algolia modal or from /search, no results are returned for the current version (0.14.2). If you switch the version to an earlier version, the search works as expected.

On v0.14.2, here is the response payload from the search modal:

{
    "results": [
        {
            "hits": [],
            "nbHits": 0,
            "page": 0,
            "nbPages": 0,
            "hitsPerPage": 20,
            "exhaustiveNbHits": true,
            "exhaustiveTypo": true,
            "query": "test",
            "params": "query=test&attributesToRetrieve=%5B%22hierarchy.lvl0%22%2C%22hierarchy.lvl1%22%2C%22hierarchy.lvl2%22%2C%22hierarchy.lvl3%22%2C%22hierarchy.lvl4%22%2C%22hierarchy.lvl5%22%2C%22hierarchy.lvl6%22%2C%22content%22%2C%22type%22%2C%22url%22%5D&attributesToSnippet=%5B%22hierarchy.lvl1%3A10%22%2C%22hierarchy.lvl2%3A10%22%2C%22hierarchy.lvl3%3A10%22%2C%22hierarchy.lvl4%3A10%22%2C%22hierarchy.lvl5%3A10%22%2C%22hierarchy.lvl6%3A10%22%2C%22content%3A10%22%5D&snippetEllipsisText=%E2%80%A6&highlightPreTag=%3Cmark%3E&highlightPostTag=%3C%2Fmark%3E&hitsPerPage=20&facetFilters=%5B%22language%3Aen%22%2C%5B%22docusaurus_tag%3Adefault%22%2C%22docusaurus_tag%3Adocs-default-0.14.2%22%5D%5D",
            "index": "datachat",
            "renderingContent": {},
            "processingTimeMS": 1
        }
    ]
}

And here it is on v0.13.5:

{
    "results": [
        {
            "hits": [
                {
                    "url": "https://docs.datachat.ai/notebook/core-concepts/machine-learning/",
                    "content": null,
                    "type": "lvl1",
                    "hierarchy": {
                        "lvl0": "Machine Learning",
                        "lvl1": "Create, Test, and Apply Machine Learning Models",
                        "lvl2": null,
                        "lvl3": null,
                        "lvl4": null,
                        "lvl5": null,
                        "lvl6": null
                    },
                    "objectID": "3-https://docs.datachat.ai/notebook/core-concepts/machine-learning/",
                    "_snippetResult": {
                        "hierarchy": {
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full"
                            }
                        }
                    },
                    "_highlightResult": {
                        "hierarchy": {
                            "lvl0": {
                                "value": "Machine Learning",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            }
                        },
                        "hierarchy_camel": [
                            {
                                "lvl0": {
                                    "value": "Machine Learning",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl1": {
                                    "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                }
                            }
                        ]
                    }
                },
                {
                    "url": "https://docs.datachat.ai/grid/core-concepts/machine-learning/",
                    "content": null,
                    "type": "lvl1",
                    "hierarchy": {
                        "lvl0": "Machine Learning",
                        "lvl1": "Create, Test, and Apply Machine Learning Models",
                        "lvl2": null,
                        "lvl3": null,
                        "lvl4": null,
                        "lvl5": null,
                        "lvl6": null
                    },
                    "objectID": "3-https://docs.datachat.ai/grid/core-concepts/machine-learning/",
                    "_snippetResult": {
                        "hierarchy": {
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full"
                            }
                        }
                    },
                    "_highlightResult": {
                        "hierarchy": {
                            "lvl0": {
                                "value": "Machine Learning",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            }
                        },
                        "hierarchy_camel": [
                            {
                                "lvl0": {
                                    "value": "Machine Learning",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl1": {
                                    "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                }
                            }
                        ]
                    }
                },
                {
                    "url": "https://docs.datachat.ai/glossary/#durbin-watson-test",
                    "content": null,
                    "type": "lvl3",
                    "hierarchy": {
                        "lvl0": "Documentation",
                        "lvl1": "Glossary",
                        "lvl2": null,
                        "lvl3": "Durbin-Watson Test​",
                        "lvl4": null,
                        "lvl5": null,
                        "lvl6": null
                    },
                    "objectID": "15-https://docs.datachat.ai/glossary/",
                    "_snippetResult": {
                        "hierarchy": {
                            "lvl1": {
                                "value": "Glossary",
                                "matchLevel": "none"
                            },
                            "lvl3": {
                                "value": "Durbin-Watson <mark>Test</mark>​",
                                "matchLevel": "full"
                            }
                        }
                    },
                    "_highlightResult": {
                        "hierarchy": {
                            "lvl0": {
                                "value": "Documentation",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl1": {
                                "value": "Glossary",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl3": {
                                "value": "Durbin-Watson <mark>Test</mark>​",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            }
                        },
                        "hierarchy_camel": [
                            {
                                "lvl0": {
                                    "value": "Documentation",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl1": {
                                    "value": "Glossary",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl3": {
                                    "value": "Durbin-Watson <mark>Test</mark>​",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                }
                            }
                        ]
                    }
                },
                {
                    "url": "https://docs.datachat.ai/notebook/core-concepts/machine-learning/#test-your-model",
                    "content": null,
                    "type": "lvl3",
                    "hierarchy": {
                        "lvl0": "Machine Learning",
                        "lvl1": "Create, Test, and Apply Machine Learning Models",
                        "lvl2": null,
                        "lvl3": "Test Your Model​",
                        "lvl4": null,
                        "lvl5": null,
                        "lvl6": null
                    },
                    "objectID": "19-https://docs.datachat.ai/notebook/core-concepts/machine-learning/",
                    "_snippetResult": {
                        "hierarchy": {
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full"
                            },
                            "lvl3": {
                                "value": "<mark>Test</mark> Your Model​",
                                "matchLevel": "full"
                            }
                        }
                    },
                    "_highlightResult": {
                        "hierarchy": {
                            "lvl0": {
                                "value": "Machine Learning",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            },
                            "lvl3": {
                                "value": "<mark>Test</mark> Your Model​",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            }
                        },
                        "hierarchy_camel": [
                            {
                                "lvl0": {
                                    "value": "Machine Learning",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl1": {
                                    "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                },
                                "lvl3": {
                                    "value": "<mark>Test</mark> Your Model​",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                }
                            }
                        ]
                    }
                },
                {
                    "url": "https://docs.datachat.ai/notebook/advanced-concepts/alerts/#testing-an-alert",
                    "content": null,
                    "type": "lvl3",
                    "hierarchy": {
                        "lvl0": "Advanced Concepts",
                        "lvl1": "Alerts",
                        "lvl2": null,
                        "lvl3": "Testing an Alert​",
                        "lvl4": null,
                        "lvl5": null,
                        "lvl6": null
                    },
                    "objectID": "21-https://docs.datachat.ai/notebook/advanced-concepts/alerts/",
                    "_snippetResult": {
                        "hierarchy": {
                            "lvl1": {
                                "value": "Alerts",
                                "matchLevel": "none"
                            },
                            "lvl3": {
                                "value": "<mark>Test</mark>ing an Alert​",
                                "matchLevel": "full"
                            }
                        }
                    },
                    "_highlightResult": {
                        "hierarchy": {
                            "lvl0": {
                                "value": "Advanced Concepts",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl1": {
                                "value": "Alerts",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl3": {
                                "value": "<mark>Test</mark>ing an Alert​",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            }
                        },
                        "hierarchy_camel": [
                            {
                                "lvl0": {
                                    "value": "Advanced Concepts",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl1": {
                                    "value": "Alerts",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl3": {
                                    "value": "<mark>Test</mark>ing an Alert​",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                }
                            }
                        ]
                    }
                },
                {
                    "url": "https://docs.datachat.ai/grid/core-concepts/machine-learning/#test-your-model",
                    "content": null,
                    "type": "lvl3",
                    "hierarchy": {
                        "lvl0": "Machine Learning",
                        "lvl1": "Create, Test, and Apply Machine Learning Models",
                        "lvl2": null,
                        "lvl3": "Test Your Model​",
                        "lvl4": null,
                        "lvl5": null,
                        "lvl6": null
                    },
                    "objectID": "24-https://docs.datachat.ai/grid/core-concepts/machine-learning/",
                    "_snippetResult": {
                        "hierarchy": {
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full"
                            },
                            "lvl3": {
                                "value": "<mark>Test</mark> Your Model​",
                                "matchLevel": "full"
                            }
                        }
                    },
                    "_highlightResult": {
                        "hierarchy": {
                            "lvl0": {
                                "value": "Machine Learning",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            },
                            "lvl3": {
                                "value": "<mark>Test</mark> Your Model​",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            }
                        },
                        "hierarchy_camel": [
                            {
                                "lvl0": {
                                    "value": "Machine Learning",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl1": {
                                    "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                },
                                "lvl3": {
                                    "value": "<mark>Test</mark> Your Model​",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                }
                            }
                        ]
                    }
                },
                {
                    "url": "https://docs.datachat.ai/skills-reference/run/#durbin-watson-test",
                    "content": null,
                    "type": "lvl4",
                    "hierarchy": {
                        "lvl0": "Documentation",
                        "lvl1": "Run",
                        "lvl2": null,
                        "lvl3": "Parameters​",
                        "lvl4": "Durbin Watson Test​",
                        "lvl5": null,
                        "lvl6": null
                    },
                    "objectID": "19-https://docs.datachat.ai/skills-reference/run/",
                    "_snippetResult": {
                        "hierarchy": {
                            "lvl1": {
                                "value": "Run",
                                "matchLevel": "none"
                            },
                            "lvl3": {
                                "value": "Parameters​",
                                "matchLevel": "none"
                            },
                            "lvl4": {
                                "value": "Durbin Watson <mark>Test</mark>​",
                                "matchLevel": "full"
                            }
                        }
                    },
                    "_highlightResult": {
                        "hierarchy": {
                            "lvl0": {
                                "value": "Documentation",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl1": {
                                "value": "Run",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl3": {
                                "value": "Parameters​",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl4": {
                                "value": "Durbin Watson <mark>Test</mark>​",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            }
                        },
                        "hierarchy_camel": [
                            {
                                "lvl0": {
                                    "value": "Documentation",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl1": {
                                    "value": "Run",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl3": {
                                    "value": "Parameters​",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl4": {
                                    "value": "Durbin Watson <mark>Test</mark>​",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                }
                            }
                        ]
                    }
                },
                {
                    "url": "https://docs.datachat.ai/skills-reference/run/#durbin-watson-test-1",
                    "content": null,
                    "type": "lvl4",
                    "hierarchy": {
                        "lvl0": "Documentation",
                        "lvl1": "Run",
                        "lvl2": null,
                        "lvl3": "Output​",
                        "lvl4": "Durbin Watson Test​",
                        "lvl5": null,
                        "lvl6": null
                    },
                    "objectID": "32-https://docs.datachat.ai/skills-reference/run/",
                    "_snippetResult": {
                        "hierarchy": {
                            "lvl1": {
                                "value": "Run",
                                "matchLevel": "none"
                            },
                            "lvl3": {
                                "value": "Output​",
                                "matchLevel": "none"
                            },
                            "lvl4": {
                                "value": "Durbin Watson <mark>Test</mark>​",
                                "matchLevel": "full"
                            }
                        }
                    },
                    "_highlightResult": {
                        "hierarchy": {
                            "lvl0": {
                                "value": "Documentation",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl1": {
                                "value": "Run",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl3": {
                                "value": "Output​",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl4": {
                                "value": "Durbin Watson <mark>Test</mark>​",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            }
                        },
                        "hierarchy_camel": [
                            {
                                "lvl0": {
                                    "value": "Documentation",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl1": {
                                    "value": "Run",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl3": {
                                    "value": "Output​",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl4": {
                                    "value": "Durbin Watson <mark>Test</mark>​",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                }
                            }
                        ]
                    }
                },
                {
                    "url": "https://docs.datachat.ai/grid/core-concepts/save-work/#test-your-edits",
                    "content": null,
                    "type": "lvl5",
                    "hierarchy": {
                        "lvl0": "Core Concepts",
                        "lvl1": "Save Your Work",
                        "lvl2": null,
                        "lvl3": "Edit a Workflow​",
                        "lvl4": "Use the Workflow Editor​",
                        "lvl5": "Test Your Edits​",
                        "lvl6": null
                    },
                    "objectID": "95-https://docs.datachat.ai/grid/core-concepts/save-work/",
                    "_snippetResult": {
                        "hierarchy": {
                            "lvl1": {
                                "value": "Save Your Work",
                                "matchLevel": "none"
                            },
                            "lvl3": {
                                "value": "Edit a Workflow​",
                                "matchLevel": "none"
                            },
                            "lvl4": {
                                "value": "Use the Workflow Editor​",
                                "matchLevel": "none"
                            },
                            "lvl5": {
                                "value": "<mark>Test</mark> Your Edits​",
                                "matchLevel": "full"
                            }
                        }
                    },
                    "_highlightResult": {
                        "hierarchy": {
                            "lvl0": {
                                "value": "Core Concepts",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl1": {
                                "value": "Save Your Work",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl3": {
                                "value": "Edit a Workflow​",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl4": {
                                "value": "Use the Workflow Editor​",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl5": {
                                "value": "<mark>Test</mark> Your Edits​",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            }
                        },
                        "hierarchy_camel": [
                            {
                                "lvl0": {
                                    "value": "Core Concepts",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl1": {
                                    "value": "Save Your Work",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl3": {
                                    "value": "Edit a Workflow​",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl4": {
                                    "value": "Use the Workflow Editor​",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl5": {
                                    "value": "<mark>Test</mark> Your Edits​",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                }
                            }
                        ]
                    }
                },
                {
                    "url": "https://docs.datachat.ai/notebook/core-concepts/save-work/#test-your-edits",
                    "content": null,
                    "type": "lvl5",
                    "hierarchy": {
                        "lvl0": "Core Concepts",
                        "lvl1": "Save Your Work",
                        "lvl2": null,
                        "lvl3": "Edit a Workflow​",
                        "lvl4": "Use the Workflow Editor​",
                        "lvl5": "Test Your Edits​",
                        "lvl6": null
                    },
                    "objectID": "106-https://docs.datachat.ai/notebook/core-concepts/save-work/",
                    "_snippetResult": {
                        "hierarchy": {
                            "lvl1": {
                                "value": "Save Your Work",
                                "matchLevel": "none"
                            },
                            "lvl3": {
                                "value": "Edit a Workflow​",
                                "matchLevel": "none"
                            },
                            "lvl4": {
                                "value": "Use the Workflow Editor​",
                                "matchLevel": "none"
                            },
                            "lvl5": {
                                "value": "<mark>Test</mark> Your Edits​",
                                "matchLevel": "full"
                            }
                        }
                    },
                    "_highlightResult": {
                        "hierarchy": {
                            "lvl0": {
                                "value": "Core Concepts",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl1": {
                                "value": "Save Your Work",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl3": {
                                "value": "Edit a Workflow​",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl4": {
                                "value": "Use the Workflow Editor​",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl5": {
                                "value": "<mark>Test</mark> Your Edits​",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            }
                        },
                        "hierarchy_camel": [
                            {
                                "lvl0": {
                                    "value": "Core Concepts",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl1": {
                                    "value": "Save Your Work",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl3": {
                                    "value": "Edit a Workflow​",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl4": {
                                    "value": "Use the Workflow Editor​",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl5": {
                                    "value": "<mark>Test</mark> Your Edits​",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                }
                            }
                        ]
                    }
                },
                {
                    "url": "https://docs.datachat.ai/grid/core-concepts/save-work/#test-your-edits-1",
                    "content": null,
                    "type": "lvl5",
                    "hierarchy": {
                        "lvl0": "Core Concepts",
                        "lvl1": "Save Your Work",
                        "lvl2": null,
                        "lvl3": "Edit a Workflow​",
                        "lvl4": "Use a Text Editor​",
                        "lvl5": "Test Your Edits​",
                        "lvl6": null
                    },
                    "objectID": "114-https://docs.datachat.ai/grid/core-concepts/save-work/",
                    "_snippetResult": {
                        "hierarchy": {
                            "lvl1": {
                                "value": "Save Your Work",
                                "matchLevel": "none"
                            },
                            "lvl3": {
                                "value": "Edit a Workflow​",
                                "matchLevel": "none"
                            },
                            "lvl4": {
                                "value": "Use a Text Editor​",
                                "matchLevel": "none"
                            },
                            "lvl5": {
                                "value": "<mark>Test</mark> Your Edits​",
                                "matchLevel": "full"
                            }
                        }
                    },
                    "_highlightResult": {
                        "hierarchy": {
                            "lvl0": {
                                "value": "Core Concepts",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl1": {
                                "value": "Save Your Work",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl3": {
                                "value": "Edit a Workflow​",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl4": {
                                "value": "Use a Text Editor​",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl5": {
                                "value": "<mark>Test</mark> Your Edits​",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            }
                        },
                        "hierarchy_camel": [
                            {
                                "lvl0": {
                                    "value": "Core Concepts",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl1": {
                                    "value": "Save Your Work",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl3": {
                                    "value": "Edit a Workflow​",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl4": {
                                    "value": "Use a Text Editor​",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl5": {
                                    "value": "<mark>Test</mark> Your Edits​",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                }
                            }
                        ]
                    }
                },
                {
                    "url": "https://docs.datachat.ai/notebook/core-concepts/save-work/#test-your-edits-1",
                    "content": null,
                    "type": "lvl5",
                    "hierarchy": {
                        "lvl0": "Core Concepts",
                        "lvl1": "Save Your Work",
                        "lvl2": null,
                        "lvl3": "Edit a Workflow​",
                        "lvl4": "Use a Text Editor​",
                        "lvl5": "Test Your Edits​",
                        "lvl6": null
                    },
                    "objectID": "125-https://docs.datachat.ai/notebook/core-concepts/save-work/",
                    "_snippetResult": {
                        "hierarchy": {
                            "lvl1": {
                                "value": "Save Your Work",
                                "matchLevel": "none"
                            },
                            "lvl3": {
                                "value": "Edit a Workflow​",
                                "matchLevel": "none"
                            },
                            "lvl4": {
                                "value": "Use a Text Editor​",
                                "matchLevel": "none"
                            },
                            "lvl5": {
                                "value": "<mark>Test</mark> Your Edits​",
                                "matchLevel": "full"
                            }
                        }
                    },
                    "_highlightResult": {
                        "hierarchy": {
                            "lvl0": {
                                "value": "Core Concepts",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl1": {
                                "value": "Save Your Work",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl3": {
                                "value": "Edit a Workflow​",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl4": {
                                "value": "Use a Text Editor​",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl5": {
                                "value": "<mark>Test</mark> Your Edits​",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            }
                        },
                        "hierarchy_camel": [
                            {
                                "lvl0": {
                                    "value": "Core Concepts",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl1": {
                                    "value": "Save Your Work",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl3": {
                                    "value": "Edit a Workflow​",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl4": {
                                    "value": "Use a Text Editor​",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl5": {
                                    "value": "<mark>Test</mark> Your Edits​",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                }
                            }
                        ]
                    }
                },
                {
                    "url": "https://docs.datachat.ai/notebook/core-concepts/machine-learning/#prep-your-data",
                    "content": null,
                    "type": "lvl3",
                    "hierarchy": {
                        "lvl0": "Machine Learning",
                        "lvl1": "Create, Test, and Apply Machine Learning Models",
                        "lvl2": null,
                        "lvl3": "Prep Your Data​",
                        "lvl4": null,
                        "lvl5": null,
                        "lvl6": null
                    },
                    "objectID": "8-https://docs.datachat.ai/notebook/core-concepts/machine-learning/",
                    "_snippetResult": {
                        "hierarchy": {
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full"
                            },
                            "lvl3": {
                                "value": "Prep Your Data​",
                                "matchLevel": "none"
                            }
                        }
                    },
                    "_highlightResult": {
                        "hierarchy": {
                            "lvl0": {
                                "value": "Machine Learning",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            },
                            "lvl3": {
                                "value": "Prep Your Data​",
                                "matchLevel": "none",
                                "matchedWords": []
                            }
                        },
                        "hierarchy_camel": [
                            {
                                "lvl0": {
                                    "value": "Machine Learning",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl1": {
                                    "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                },
                                "lvl3": {
                                    "value": "Prep Your Data​",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                }
                            }
                        ]
                    }
                },
                {
                    "url": "https://docs.datachat.ai/grid/core-concepts/machine-learning/#prep-your-data",
                    "content": null,
                    "type": "lvl3",
                    "hierarchy": {
                        "lvl0": "Machine Learning",
                        "lvl1": "Create, Test, and Apply Machine Learning Models",
                        "lvl2": null,
                        "lvl3": "Prep Your Data​",
                        "lvl4": null,
                        "lvl5": null,
                        "lvl6": null
                    },
                    "objectID": "8-https://docs.datachat.ai/grid/core-concepts/machine-learning/",
                    "_snippetResult": {
                        "hierarchy": {
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full"
                            },
                            "lvl3": {
                                "value": "Prep Your Data​",
                                "matchLevel": "none"
                            }
                        }
                    },
                    "_highlightResult": {
                        "hierarchy": {
                            "lvl0": {
                                "value": "Machine Learning",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            },
                            "lvl3": {
                                "value": "Prep Your Data​",
                                "matchLevel": "none",
                                "matchedWords": []
                            }
                        },
                        "hierarchy_camel": [
                            {
                                "lvl0": {
                                    "value": "Machine Learning",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl1": {
                                    "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                },
                                "lvl3": {
                                    "value": "Prep Your Data​",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                }
                            }
                        ]
                    }
                },
                {
                    "url": "https://docs.datachat.ai/notebook/core-concepts/machine-learning/#build-your-model",
                    "content": null,
                    "type": "lvl3",
                    "hierarchy": {
                        "lvl0": "Machine Learning",
                        "lvl1": "Create, Test, and Apply Machine Learning Models",
                        "lvl2": null,
                        "lvl3": "Build Your Model​",
                        "lvl4": null,
                        "lvl5": null,
                        "lvl6": null
                    },
                    "objectID": "10-https://docs.datachat.ai/notebook/core-concepts/machine-learning/",
                    "_snippetResult": {
                        "hierarchy": {
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full"
                            },
                            "lvl3": {
                                "value": "Build Your Model​",
                                "matchLevel": "none"
                            }
                        }
                    },
                    "_highlightResult": {
                        "hierarchy": {
                            "lvl0": {
                                "value": "Machine Learning",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            },
                            "lvl3": {
                                "value": "Build Your Model​",
                                "matchLevel": "none",
                                "matchedWords": []
                            }
                        },
                        "hierarchy_camel": [
                            {
                                "lvl0": {
                                    "value": "Machine Learning",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl1": {
                                    "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                },
                                "lvl3": {
                                    "value": "Build Your Model​",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                }
                            }
                        ]
                    }
                },
                {
                    "url": "https://docs.datachat.ai/grid/core-concepts/machine-learning/#build-your-model",
                    "content": null,
                    "type": "lvl3",
                    "hierarchy": {
                        "lvl0": "Machine Learning",
                        "lvl1": "Create, Test, and Apply Machine Learning Models",
                        "lvl2": null,
                        "lvl3": "Build Your Model​",
                        "lvl4": null,
                        "lvl5": null,
                        "lvl6": null
                    },
                    "objectID": "10-https://docs.datachat.ai/grid/core-concepts/machine-learning/",
                    "_snippetResult": {
                        "hierarchy": {
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full"
                            },
                            "lvl3": {
                                "value": "Build Your Model​",
                                "matchLevel": "none"
                            }
                        }
                    },
                    "_highlightResult": {
                        "hierarchy": {
                            "lvl0": {
                                "value": "Machine Learning",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            },
                            "lvl3": {
                                "value": "Build Your Model​",
                                "matchLevel": "none",
                                "matchedWords": []
                            }
                        },
                        "hierarchy_camel": [
                            {
                                "lvl0": {
                                    "value": "Machine Learning",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl1": {
                                    "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                },
                                "lvl3": {
                                    "value": "Build Your Model​",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                }
                            }
                        ]
                    }
                },
                {
                    "url": "https://docs.datachat.ai/notebook/core-concepts/machine-learning/#apply-your-model",
                    "content": null,
                    "type": "lvl3",
                    "hierarchy": {
                        "lvl0": "Machine Learning",
                        "lvl1": "Create, Test, and Apply Machine Learning Models",
                        "lvl2": null,
                        "lvl3": "Apply Your Model​",
                        "lvl4": null,
                        "lvl5": null,
                        "lvl6": null
                    },
                    "objectID": "60-https://docs.datachat.ai/notebook/core-concepts/machine-learning/",
                    "_snippetResult": {
                        "hierarchy": {
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full"
                            },
                            "lvl3": {
                                "value": "Apply Your Model​",
                                "matchLevel": "none"
                            }
                        }
                    },
                    "_highlightResult": {
                        "hierarchy": {
                            "lvl0": {
                                "value": "Machine Learning",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            },
                            "lvl3": {
                                "value": "Apply Your Model​",
                                "matchLevel": "none",
                                "matchedWords": []
                            }
                        },
                        "hierarchy_camel": [
                            {
                                "lvl0": {
                                    "value": "Machine Learning",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl1": {
                                    "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                },
                                "lvl3": {
                                    "value": "Apply Your Model​",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                }
                            }
                        ]
                    }
                },
                {
                    "url": "https://docs.datachat.ai/grid/core-concepts/machine-learning/#apply-your-model",
                    "content": null,
                    "type": "lvl3",
                    "hierarchy": {
                        "lvl0": "Machine Learning",
                        "lvl1": "Create, Test, and Apply Machine Learning Models",
                        "lvl2": null,
                        "lvl3": "Apply Your Model​",
                        "lvl4": null,
                        "lvl5": null,
                        "lvl6": null
                    },
                    "objectID": "65-https://docs.datachat.ai/grid/core-concepts/machine-learning/",
                    "_snippetResult": {
                        "hierarchy": {
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full"
                            },
                            "lvl3": {
                                "value": "Apply Your Model​",
                                "matchLevel": "none"
                            }
                        }
                    },
                    "_highlightResult": {
                        "hierarchy": {
                            "lvl0": {
                                "value": "Machine Learning",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            },
                            "lvl3": {
                                "value": "Apply Your Model​",
                                "matchLevel": "none",
                                "matchedWords": []
                            }
                        },
                        "hierarchy_camel": [
                            {
                                "lvl0": {
                                    "value": "Machine Learning",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl1": {
                                    "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                },
                                "lvl3": {
                                    "value": "Apply Your Model​",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                }
                            }
                        ]
                    }
                },
                {
                    "url": "https://docs.datachat.ai/notebook/core-concepts/machine-learning/#the-profiler",
                    "content": null,
                    "type": "lvl4",
                    "hierarchy": {
                        "lvl0": "Machine Learning",
                        "lvl1": "Create, Test, and Apply Machine Learning Models",
                        "lvl2": null,
                        "lvl3": "Test Your Model​",
                        "lvl4": "The Profiler​",
                        "lvl5": null,
                        "lvl6": null
                    },
                    "objectID": "40-https://docs.datachat.ai/notebook/core-concepts/machine-learning/",
                    "_snippetResult": {
                        "hierarchy": {
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full"
                            },
                            "lvl3": {
                                "value": "<mark>Test</mark> Your Model​",
                                "matchLevel": "full"
                            },
                            "lvl4": {
                                "value": "The Profiler​",
                                "matchLevel": "none"
                            }
                        }
                    },
                    "_highlightResult": {
                        "hierarchy": {
                            "lvl0": {
                                "value": "Machine Learning",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            },
                            "lvl3": {
                                "value": "<mark>Test</mark> Your Model​",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            },
                            "lvl4": {
                                "value": "The Profiler​",
                                "matchLevel": "none",
                                "matchedWords": []
                            }
                        },
                        "hierarchy_camel": [
                            {
                                "lvl0": {
                                    "value": "Machine Learning",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl1": {
                                    "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                },
                                "lvl3": {
                                    "value": "<mark>Test</mark> Your Model​",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                },
                                "lvl4": {
                                    "value": "The Profiler​",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                }
                            }
                        ]
                    }
                },
                {
                    "url": "https://docs.datachat.ai/grid/core-concepts/machine-learning/#the-profiler",
                    "content": null,
                    "type": "lvl4",
                    "hierarchy": {
                        "lvl0": "Machine Learning",
                        "lvl1": "Create, Test, and Apply Machine Learning Models",
                        "lvl2": null,
                        "lvl3": "Test Your Model​",
                        "lvl4": "The Profiler​",
                        "lvl5": null,
                        "lvl6": null
                    },
                    "objectID": "45-https://docs.datachat.ai/grid/core-concepts/machine-learning/",
                    "_snippetResult": {
                        "hierarchy": {
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full"
                            },
                            "lvl3": {
                                "value": "<mark>Test</mark> Your Model​",
                                "matchLevel": "full"
                            },
                            "lvl4": {
                                "value": "The Profiler​",
                                "matchLevel": "none"
                            }
                        }
                    },
                    "_highlightResult": {
                        "hierarchy": {
                            "lvl0": {
                                "value": "Machine Learning",
                                "matchLevel": "none",
                                "matchedWords": []
                            },
                            "lvl1": {
                                "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            },
                            "lvl3": {
                                "value": "<mark>Test</mark> Your Model​",
                                "matchLevel": "full",
                                "fullyHighlighted": false,
                                "matchedWords": [
                                    "test"
                                ]
                            },
                            "lvl4": {
                                "value": "The Profiler​",
                                "matchLevel": "none",
                                "matchedWords": []
                            }
                        },
                        "hierarchy_camel": [
                            {
                                "lvl0": {
                                    "value": "Machine Learning",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                },
                                "lvl1": {
                                    "value": "Create, <mark>Test</mark>, and Apply Machine Learning Models",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                },
                                "lvl3": {
                                    "value": "<mark>Test</mark> Your Model​",
                                    "matchLevel": "full",
                                    "fullyHighlighted": false,
                                    "matchedWords": [
                                        "test"
                                    ]
                                },
                                "lvl4": {
                                    "value": "The Profiler​",
                                    "matchLevel": "none",
                                    "matchedWords": []
                                }
                            }
                        ]
                    }
                }
            ],
            "nbHits": 131,
            "page": 0,
            "nbPages": 7,
            "hitsPerPage": 20,
            "exhaustiveNbHits": true,
            "exhaustiveTypo": true,
            "query": "test",
            "params": "query=test&attributesToRetrieve=%5B%22hierarchy.lvl0%22%2C%22hierarchy.lvl1%22%2C%22hierarchy.lvl2%22%2C%22hierarchy.lvl3%22%2C%22hierarchy.lvl4%22%2C%22hierarchy.lvl5%22%2C%22hierarchy.lvl6%22%2C%22content%22%2C%22type%22%2C%22url%22%5D&attributesToSnippet=%5B%22hierarchy.lvl1%3A10%22%2C%22hierarchy.lvl2%3A10%22%2C%22hierarchy.lvl3%3A10%22%2C%22hierarchy.lvl4%3A10%22%2C%22hierarchy.lvl5%3A10%22%2C%22hierarchy.lvl6%3A10%22%2C%22content%3A10%22%5D&snippetEllipsisText=%E2%80%A6&highlightPreTag=%3Cmark%3E&highlightPostTag=%3C%2Fmark%3E&hitsPerPage=20&facetFilters=%5B%22language%3Aen%22%2C%5B%22docusaurus_tag%3Adefault%22%2C%22docusaurus_tag%3Adocs-default-0.13.5%22%5D%5D",
            "index": "datachat",
            "renderingContent": {},
            "processingTimeMS": 2
        }
    ]
}
https://github.com/algolia/docsearch-configs/blob/master/deployed-configs/d/datachat.js

Steps to reproduce

On my site, if you search in either the Algolia modal or from /search, no results are returned for the current version (0.14.2). If you switch the version to an earlier version, the search works as expected.

Expected behavior

Results are returned in all versions.

Actual behavior

Results are returned in older versions, but not the current/default version.

Your environment

  • Public source code:
  • Public site URL: docs.datachat.ai
  • Docusaurus version used: 2.0.0-beta.16
  • Environment name and version (e.g. Chrome 89, Node.js 16.4): Chrome 101
  • Operating system and version (e.g. Ubuntu 20.04.2 LTS): Mac OS Monterey

Self-service

  • I'd be willing to fix this bug myself.
@nategoethel nategoethel added bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers labels May 9, 2022
@Josh-Cena Josh-Cena added domain: search Related to the search feature, usually Algolia and removed status: needs triage This issue has not been triaged by maintainers labels May 10, 2022
@Josh-Cena
Copy link
Collaborator

@nategoethel Could you check in your search console if the indices for the current version exist?

image

@Josh-Cena Josh-Cena added the status: needs more information There is not enough information to take action on the issue. label May 10, 2022
@nategoethel
Copy link
Author

@Josh-Cena here is what I see:

Screen Shot 2022-05-10 at 10 29 12 AM

@Josh-Cena
Copy link
Collaborator

Frankly, I'm not sure what's going on... cc @shortcuts as always, your support is appreciated🙏

@nategoethel
Copy link
Author

This appears to be fixed after I updated my crawler config, specifically the recordExtractor, to match Docusaurus's:

https://github.com/algolia/docsearch-configs/blob/b0630cbffa079a670a98d7c2f8e235ec7b8c50d7/deployed-configs/d/docusaurus-2.js#L16-L36

@Josh-Cena Josh-Cena added closed: question This issue is a user error/misunderstanding. and removed bug An error in the Docusaurus core causing instability or issues with its execution status: needs more information There is not enough information to take action on the issue. domain: search Related to the search feature, usually Algolia labels May 11, 2022
@shortcuts
Copy link
Contributor

This appears to be fixed after I updated my crawler config, specifically the recordExtractor, to match Docusaurus's:

Hey exactly! You can find a more up to date config template here: https://docsearch.algolia.com/docs/templates

@Josh-Cena Josh-Cena closed this as not planned Won't fix, can't repro, duplicate, stale May 23, 2022
@slorber
Copy link
Collaborator

slorber commented Apr 5, 2024

EDIT: see Troubleshooting section added to our docs here:

https://docusaurus.io/docs/search#algolia-troubleshooting

No search result?

For anyone passing by, if you don't get any Algolia search results:

  • make sure that your Algolia index has the fields in the screenshot below
  • If you don't see these fields, then you have an index config problem
  • You should check your crawler config, make sure it matches the recommended one, and then delete/recreate your index based on the newly updated/fixed crawler config (Algolia team recommendation)

image

See also: #10007 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: question This issue is a user error/misunderstanding.
Projects
None yet
Development

No branches or pull requests

4 participants