Skip to content

Commit 52e64d1

Browse files
committed
wip
1 parent 04950bc commit 52e64d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

feed_to_vespa.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def vespa_remove(endpoint, doc_ids, namespace, doc_type):
7171

7272

7373
def vespa_feed(endpoint, feed, namespace, doc_type):
74-
if doc_type == "paragraph" or doc_type == "term" or doc_type == "doc":
74+
if doc_type == "paragraph" or doc_type == "term" or doc_type == "doc" or doc_type == "code_snippet":
7575
splits = re.split(r'/|\.', endpoint)
7676
app_string = splits[3] + '.' + splits[2]
7777
print(subprocess.run(['./vespa', 'feed', '-a', app_string, '-t', endpoint, feed], capture_output=True))

0 commit comments

Comments
 (0)