Skip to content

Commit 453ce40

Browse files
committed
Plain text
1 parent ac8454b commit 453ce40

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

_elastic/indexer.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def build_documents(version, build_folder):
3131

3232
element = {"version": version, "title": title, "parent_title": parent_title,
3333
"slug": slug, "html": html, "h1": h1_elements, "h2": h2_elements,
34-
"h3": h3_elements, "plain_text": plain_text}
34+
"h3": h3_elements, "plain": plain_text}
3535
yield element
3636

3737

@@ -85,7 +85,8 @@ def create_index(self):
8585
"url" : { "type" : "text" },
8686
"h1" : { "type" : "text" },
8787
"h2" : { "type" : "text" },
88-
"h3" : { "type" : "text" }
88+
"h3" : { "type" : "text" },
89+
"plain" : { "type" : "text" }
8990
}
9091
}
9192
}

0 commit comments

Comments
 (0)