Consistently use "entry", "score" in json response for all search types

- Had already made some progress on this earlier by updating the image
  search responses. But needed to update the text search responses to
  use lowercase entry and score

- Update khoj.el to consume the updated json response keys for text
  search
This commit is contained in:
Debanjum Singh Solanky
2022-07-20 20:33:27 +04:00
parent d68a9dc445
commit c1369233db
6 changed files with 11 additions and 11 deletions

View File

@@ -37,7 +37,7 @@ def test_asymmetric_search(content_config: ContentConfig, search_config: SearchC
# Assert
# Actual_data should contain "Khoj via Emacs" entry
search_result = results[0]["Entry"]
search_result = results[0]["entry"]
assert "git clone" in search_result