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

Meili below v0.27 does not support highlightPreTag #6

Closed
bennyzen opened this issue Jul 15, 2022 · 2 comments
Closed

Meili below v0.27 does not support highlightPreTag #6

bennyzen opened this issue Jul 15, 2022 · 2 comments

Comments

@bennyzen
Copy link

MeiliSearch below version 0.27 does not seem to understand or support the highlightPreTag. The error I got is something like:

{
    "message": "Json deserialize error: unknown field `highlightPreTag`, expected one of `q`, `offset`, `limit`, `attributesToRetrieve`, `attributesToCrop`, `cropLength`, `attributesToHighlight`, `matches`, `filter`, `sort`, `facetsDistribution` at line 1 column 55",
    "code": "bad_request",
    "type": "invalid_request",
    "link": "https://docs.meilisearch.com/errors#bad_request"
}

Maybe this could be added to the docs to save some headaches.

@xlanex6
Copy link
Owner

xlanex6 commented Jul 19, 2022

Here a real problem with different version ( meilisearch and meilisearchClient )

If mismatch , it could have some problem like you mention.

Are you free for a pull request ?

@xlanex6
Copy link
Owner

xlanex6 commented Oct 17, 2022

After config highlightPreTag on Meilisearch .it works

@xlanex6 xlanex6 closed this as completed Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants