diff src/plugins/fts-solr/fts-backend-solr.c @ 7999:1ceb49f2eb50 HEAD

fts-solr: Error handling fixes.
author Timo Sirainen <tss@iki.fi>
date Sun, 13 Jul 2008 14:40:03 +0300
parents 662172573fe1
children 61be6a4722c5
line wrap: on
line diff
--- a/src/plugins/fts-solr/fts-backend-solr.c	Sun Jul 13 14:35:41 2008 +0300
+++ b/src/plugins/fts-solr/fts-backend-solr.c	Sun Jul 13 14:40:03 2008 +0300
@@ -190,7 +190,7 @@
 		str_append(ctx->cmd, "</field></doc></add>");
 		solr_connection_post_more(ctx->post, str_data(ctx->cmd),
 					  str_len(ctx->cmd));
-		ret = solr_connection_end(ctx->post);
+		ret = solr_connection_post_end(ctx->post);
 		/* commit and wait until the documents we just indexed are
 		   visible to the following search */
 		if (solr_connection_post(solr_conn,