updatelucene
This commit is contained in:
parent
a5d0d7f7e5
commit
88f7fbc4a5
1 changed files with 3 additions and 0 deletions
|
|
@ -81,12 +81,15 @@ def lucene_sanitize(query: str) -> str:
|
||||||
']': r'\]',
|
']': r'\]',
|
||||||
'^': r'\^',
|
'^': r'\^',
|
||||||
'"': r'\"',
|
'"': r'\"',
|
||||||
|
"'": r"\'",
|
||||||
'~': r'\~',
|
'~': r'\~',
|
||||||
'*': r'\*',
|
'*': r'\*',
|
||||||
'?': r'\?',
|
'?': r'\?',
|
||||||
':': r'\:',
|
':': r'\:',
|
||||||
'\\': r'\\',
|
'\\': r'\\',
|
||||||
'/': r'\/',
|
'/': r'\/',
|
||||||
|
'@': r'\@',
|
||||||
|
'%': r'\%',
|
||||||
'O': r'\O',
|
'O': r'\O',
|
||||||
'R': r'\R',
|
'R': r'\R',
|
||||||
'N': r'\N',
|
'N': r'\N',
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue