Show More
@@ -38,8 +38,11 b" ES_VERSION_6 = '6'" | |||||
38 | # for legacy reasons we keep 2 compat as default |
|
38 | # for legacy reasons we keep 2 compat as default | |
39 | DEFAULT_ES_VERSION = ES_VERSION_2 |
|
39 | DEFAULT_ES_VERSION = ES_VERSION_2 | |
40 |
|
40 | |||
41 | from rhodecode_tools.lib.fts_index.elasticsearch_engine_6 import \ |
|
41 | try: | |
42 | ES_CONFIG # pragma: no cover |
|
42 | from rhodecode_tools.lib.fts_index.elasticsearch_engine_6 import ES_CONFIG # pragma: no cover | |
|
43 | except ImportError: | |||
|
44 | log.warning('rhodecode_tools not available, use of full text search is limited') | |||
|
45 | pass | |||
43 |
|
46 | |||
44 |
|
47 | |||
45 | class BaseSearcher(object): |
|
48 | class BaseSearcher(object): |
General Comments 0
You need to be logged in to leave comments.
Login now