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

More Documents like this #1011

Closed
syrusakbary opened this issue Apr 17, 2021 · 3 comments
Closed

More Documents like this #1011

syrusakbary opened this issue Apr 17, 2021 · 3 comments

Comments

@syrusakbary
Copy link

syrusakbary commented Apr 17, 2021

It would be great to have a "MoreLikeThis" feature in Tantivy.
An efficient, effective "more-like-this" query generator would be a great contribution.

Elasticsearch and Lucene both support it:
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-mlt-query.html
https://lucene.apache.org/core/7_2_0/queries/org/apache/lucene/queries/mlt/MoreLikeThis.html

Note: this came up when trying to add support for Tantivy in Django-Haystack

If it's helpful, here's how Whoosh (pure search engine implemented in Python) is doing it:
https://github.com/mchaput/whoosh/blob/main/src/whoosh/searching.py#L543-L585

@fulmicoton
Copy link
Collaborator

fulmicoton commented Apr 27, 2021

Duplicate of #799

@mtlmacedo
Copy link

Is this issue still open ?

@fulmicoton
Copy link
Collaborator

ah no it has been implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants