Parcourir la source

filter out + in es query (#2046)

### What problem does this PR solve?

#2028

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [ ]
tags/v0.10.0
Kevin Hu il y a 1 an
Parent
révision
642006c8e2
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      rag/nlp/query.py

+ 1
- 1
rag/nlp/query.py Voir le fichier

@@ -32,7 +32,7 @@ class EsQueryer:

@staticmethod
def subSpecialChar(line):
return re.sub(r"([:\{\}/\[\]\-\*\"\(\)\|~\^])", r"\\\1", line).strip()
return re.sub(r"([:\{\}/\[\]\-\*\"\(\)\|\+~\^])", r"\\\1", line).strip()

@staticmethod
def isChinese(line):

Chargement…
Annuler
Enregistrer