algolia / algoliasearch-client-javascript

⚡️ A fully-featured and blazing-fast JavaScript API client to interact with Algolia.
https://www.algolia.com/doc/api-client/javascript/getting-started/
MIT License
1.33k stars 222 forks source link

Javascript client don't return title of page #1458

Closed Mysterious-Dev closed 1 year ago

Mysterious-Dev commented 1 year ago

Hi !

I have a problem with the client, I can't get the title of a page :/ despite the configurations. For information, I use a template from Docusaurus v2.

Version of client : 4.17.0

Index settings

attributesForFaceting: [
        "type",
        "lang",
        "language",
        "version",
        "docusaurus_tag",
        "title",
      ],
      attributesToRetrieve: [
        "hierarchy",
        "content",
        "anchor",
        "url",
        "url_without_anchor",
        "type",
        "title",
      ],

Client request options

attributesToRetrieve: [
    'version',
    'url',
    'title'
]
Haroenv commented 1 year ago

This doesn't seem to be opened in the right repository. Can you open an issue in docusaurus please?

Mysterious-Dev commented 1 year ago

Docusaurus repository ?

shortcuts commented 1 year ago

Hey, is it a DocSearch related question? If so, please open the issue here https://github.com/algolia/docsearch

This repository holds the code of the JavaScript API clients, which allows you to ingest data inside Algolia, but it doesn't retrieve any data from any source.