You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix commitWithin for JSON updates w/o boost or fieldUpdates (#421)
- 3.9.0 included changes such that the `commitWithin` arg
to the `add` method was no longer used unless either
`boost` or `fieldValues` was provided, since the new logic
to support sending JSON docs doesn't use `commitWithin`
- these changes add `commit_within` to the `Solr._update`
method and modify that method to include `commitWithin`
as a query parameter if it is provided, which is simpler
than needing different logic for the two cases of XML
and JSON docs
- also added a test case for `commitWithin`, which wasn't
tested previously
Co-authored-by: Calvin Smith <[email protected]>
0 commit comments