mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Fixing feed search
This commit is contained in:
parent
a22ce16a0e
commit
b89b599ae9
1 changed files with 4 additions and 0 deletions
|
@ -434,6 +434,10 @@ class SearchFeed:
|
||||||
def index_name(cls):
|
def index_name(cls):
|
||||||
return "%s-index" % cls.name
|
return "%s-index" % cls.name
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def doc_type(cls):
|
||||||
|
return "%s-type" % cls.name
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def create_elasticsearch_mapping(cls, delete=False):
|
def create_elasticsearch_mapping(cls, delete=False):
|
||||||
if delete:
|
if delete:
|
||||||
|
|
Loading…
Add table
Reference in a new issue