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

HTML tags should not be searchable #364

Closed
zehawki opened this issue Aug 27, 2021 · 1 comment
Closed

HTML tags should not be searchable #364

zehawki opened this issue Aug 27, 2021 · 1 comment

Comments

@zehawki
Copy link

zehawki commented Aug 27, 2021

Description

A search for <p> <h2> etc etc matches the doc contents. This results in a match to everything when HTML content is part of a document.

The larger question is how Typesense intends to treat HTML tags. Will you strip away before indexing, or do you expect the input data to not have HTML tags.

I didnt see any mention about this in the docs...

@jasonbosco
Copy link
Member

Typesense does not strip any html tags. Here's a way to still search through HTML docs: #265 (comment)

@zehawki zehawki closed this as completed Aug 27, 2021
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