Skip to content

Commit 7543ada

Browse files
committed
Optimze ref doc search
1 parent 13424fa commit 7543ada

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

update.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,28 +1109,6 @@ def append_asset(filename, data):
11091109

11101110
append_ref_doc(filename, process_string_for_indexing(" ".join(data)))
11111111

1112-
1113-
# append_ref_doc(filename, name)
1114-
# if "." in name:
1115-
# for part in name.split("."):
1116-
# append_ref_doc(filename, part)
1117-
# elif "::" in name:
1118-
# for part in name.split("::"):
1119-
# append_ref_doc(filename, part)
1120-
1121-
# append_ref_doc(filename, element["description"])
1122-
# for p in element["parameters"]:
1123-
# append_ref_doc(filename, p["doc"])
1124-
# for t in p["types"]:
1125-
# append_ref_doc(filename, t)
1126-
# for r in element["returnvalues"]:
1127-
# append_ref_doc(filename, r["doc"])
1128-
# for t in r["types"]:
1129-
# append_ref_doc(filename, t)
1130-
# for m in element["members"]:
1131-
# append_ref_doc(filename, m["doc"])
1132-
1133-
11341112
# manually create a builder without stemming, stop words etc
11351113
# if we use the standard builder pipeline functions we will end up
11361114
# with partial search words like go.get_posit instead of go.get_position

0 commit comments

Comments
 (0)