|
|
|
@ -76,6 +76,7 @@ class ParagraphIndexProcessor(BaseIndexProcessor):
|
|
|
|
if dataset.indexing_technique == "high_quality":
|
|
|
|
if dataset.indexing_technique == "high_quality":
|
|
|
|
vector = Vector(dataset)
|
|
|
|
vector = Vector(dataset)
|
|
|
|
vector.create(documents)
|
|
|
|
vector.create(documents)
|
|
|
|
|
|
|
|
with_keywords = False
|
|
|
|
if with_keywords:
|
|
|
|
if with_keywords:
|
|
|
|
keywords_list = kwargs.get("keywords_list")
|
|
|
|
keywords_list = kwargs.get("keywords_list")
|
|
|
|
keyword = Keyword(dataset)
|
|
|
|
keyword = Keyword(dataset)
|
|
|
|
@ -91,6 +92,7 @@ class ParagraphIndexProcessor(BaseIndexProcessor):
|
|
|
|
vector.delete_by_ids(node_ids)
|
|
|
|
vector.delete_by_ids(node_ids)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
vector.delete()
|
|
|
|
vector.delete()
|
|
|
|
|
|
|
|
with_keywords = False
|
|
|
|
if with_keywords:
|
|
|
|
if with_keywords:
|
|
|
|
keyword = Keyword(dataset)
|
|
|
|
keyword = Keyword(dataset)
|
|
|
|
if node_ids:
|
|
|
|
if node_ids:
|
|
|
|
|