-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] connector_search_engine: export and delete on multi bindings
Fix error when calling the methods *export_record* or *delete_record* from the *se.binding* model when called on a recordset with items from different *se.backend*. The *export* and *delete* methods involves the use of a *Backend Adapter* to communicate with the target search engine. We then need to process the bindings by backend to call the correct adapter and ensure at same time a batch process of the requested operation for all the records linked to the same backend.
- Loading branch information
Showing
6 changed files
with
37 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Fix error when calling the methods *export_record* or *delete_record* from | ||
the *se.binding* model when called on a recordset with items from different | ||
*se.backend*. | ||
|
||
The *export* and *delete* methods involves the use of a *Backend Adapter* to | ||
communicate with the target search engine. We then need to process the bindings | ||
by backend to call the correct adapter and ensure at same time a batch process | ||
of the requested operation for all the records linked to the same backend. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters