mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-06 12:46:31 +00:00
finish plugin cellulite to the new indexer
This commit is contained in:
@ -140,7 +140,7 @@ pub enum ReceiverAction {
|
||||
LargeEntry(LargeEntry),
|
||||
LargeVectors(LargeVectors),
|
||||
LargeVector(LargeVector),
|
||||
GeoJson(GeoJson),
|
||||
GeoJson(DocumentId, GeoJson),
|
||||
}
|
||||
|
||||
/// An entry that cannot fit in the BBQueue buffers has been
|
||||
@ -1155,10 +1155,10 @@ impl GeoSender<'_, '_> {
|
||||
pub struct GeoJsonSender<'a, 'b>(&'a ExtractorBbqueueSender<'b>);
|
||||
|
||||
impl GeoJsonSender<'_, '_> {
|
||||
pub fn send_geojson(&self, value: GeoJson) -> StdResult<(), SendError<()>> {
|
||||
pub fn send_geojson(&self, docid: DocumentId, value: GeoJson) -> StdResult<(), SendError<()>> {
|
||||
self.0
|
||||
.sender
|
||||
.send(ReceiverAction::GeoJson(value))
|
||||
.send(ReceiverAction::GeoJson(docid, value))
|
||||
.map_err(|_| SendError(()))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user