Skip to content

Conversation

@BillFarber
Copy link
Contributor

Also adds a setting for BM25 Length Weight.

Added a couple of tests. These tests are of limited use here, but they do verify that "bm25" and "zero" are acceptable scoring options.

@BillFarber BillFarber force-pushed the task/addNewSearchOptions branch 2 times, most recently from 084242e to 9310a96 Compare July 8, 2024 15:27
@BillFarber BillFarber requested a review from rjrudin July 8, 2024 15:27
rjrudin
rjrudin previously approved these changes Jul 8, 2024
Copy link
Contributor

@rjrudin rjrudin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, but see if it's possible to make a test that fails on an invalid BM25 length weight.

rjrudin
rjrudin previously approved these changes Jul 8, 2024
rjrudin
rjrudin previously approved these changes Jul 8, 2024
Copy link
Contributor

@rjrudin rjrudin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG, just a few bookkeeping javadocs to add.

Also adds a setting for BM25 Length Weight.

Added a couple of tests. These tests are of limited use here, but they do verify that "bm25" and "zero" are acceptable scoring options. They also verify the exception when bm25lengthweight is out of bounds.

docs
@BillFarber BillFarber merged commit 3cff591 into marklogic:develop Jul 8, 2024
@BillFarber BillFarber deleted the task/addNewSearchOptions branch July 8, 2024 19:40
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.

2 participants