소스 검색

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 1 년 전
부모
커밋
642006c8e2
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      rag/nlp/query.py

+ 1
- 1
rag/nlp/query.py 파일 보기



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


@staticmethod @staticmethod
def isChinese(line): def isChinese(line):

Loading…
취소
저장