0
我想使用外國數據包裝,添加服務器,觸發器和其他先決條件,但是當我嘗試插入條目,我得到下面的錯誤。錯誤使用國外數據包裝
ERROR: INDEX for /test/media/2 and document {'description':
u'dffffff', 'tags': u'{aa,ss}', 'title': u'ddd', 'score': None,
'query': None} failed:
ConnectionError(<urllib3.connection.HTTPConnection object at
0x7f6df9b82e90>: Failed to establish a new connection: [Errno -2]
Name or service not known) caused by:
NewConnectionError(<urllib3.connection.HTTPConnection object at
0x7f6df9b82e90>: Failed to establish a new connection: [Errno -2]
Name or service not known)
CONTEXT: SQL statement "INSERT INTO media_es
(
id,
title,
description,
tags
)
VALUES
(
NEW.id,
NEW.title,
NEW.description,
NEW.tags
)"
PL/pgSQL function index_media() line 3 at SQL statement
********** Error **********