You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys !
The index types changed in elasticsearch 5.0. The string type has been replaced by the text (analyzed) and keyword (not analyzed) types. You're specifying the text type, but keyword is what you want for no analysis.
So change String to Text or Keyword. Moreover, you're remove the parenthesis content. Example 😀 "signalgo": Keyword(fields={'raw': Keyword((index='not_analyzed'))}),
Hello, i've a problem with import_testssl.sh_csv_to_ES.py:
./import_testssl.sh_csv_to_ES.py *.csv
Traceback (most recent call last):
File "./import_testssl.sh_csv_to_ES.py", line 5, in
from docTestssl import DocTestSSLResult
File "/test/testssl-scan/docTestssl.py", line 4, in
from elasticsearch_dsl import DocType, Object, Date, String, Integer, Short, Boolean
ImportError: cannot import name 'String'
Python 3.6.4
and all dependencies installed
Any idea?
Thanks for ur work
The text was updated successfully, but these errors were encountered: