Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
elasticsearch
Commits
ce7d40c6affd
Commit
56893799
authored
Dec 12, 2018
by
Katia Saurfelt
Browse files
[es6] ES doesn't support multiple types in a single index: use `_doc` type for all
parent
9d0bba1e08ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
cubicweb_elasticsearch/entities.py
View file @
ce7d40c6
...
...
@@ -127,7 +127,7 @@ class IFullTextIndexSerializable(view.EntityAdapter):
@
property
def
es_doc_type
(
self
):
return
self
.
entity
.
cw_etype
return
'_doc'
@
cachedproperty
def
fulltext_indexable_attributes
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment