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

Adding option to varying body text length used for matching #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lc0rp
Copy link

@lc0rp lc0rp commented May 19, 2023

Some repositories may achieve better results by varying the length of body text used for matching.

This is especially useful when longer body text in some issues contains information such as logs that may affect similarity.

The idea is that the most relevant content is typically found at the beginning of the body. To make this feature more customizable, a --body-length parameter has been added to this PR. By default, it is set to -1, which means that the entire body will be considered.

lc0rp added 2 commits May 19, 2023 13:27
…t contains log files, etc.

The premise is that the start of the body has the most pertinent content. This PR makes it configurable by adding a --body-length parameter. It defaults to -1 which means whole body
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

Successfully merging this pull request may close these issues.

None yet

1 participant