diff options
author | navanchauhan <navanchauhan@gmail.com> | 2022-10-17 14:31:24 -0600 |
---|---|---|
committer | navanchauhan <navanchauhan@gmail.com> | 2022-10-17 14:31:24 -0600 |
commit | 01a24fd6b1208626e70d2f79b3d81579b6eb1603 (patch) | |
tree | fe4948ac8bde2f78cded7782b869b3c61167af41 /main.go | |
parent | 696c8204f33e724562c6e22350112d41424d0854 (diff) |
update to new index
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -54,7 +54,7 @@ func main() { Host: meili_host, }) - index := client.Index("fda510k") + index := client.Index("510k") http.HandleFunc("/classic/", func(w http.ResponseWriter, r *http.Request) { t, _ := template.ParseFiles("templates/search.gtpl") @@ -97,9 +97,26 @@ func main() { "applicant", "decision", "decision_date", + "full_text", "id", "predicates", "submission_date", + "contact", + "STREET1", + "STREET2", + "CITY", + "STATE", + "ZIP", + "COUNTRY_CODE", + "postal_code", + "REVIEWADVISECOMM", + "PRODUCTCODE", + "STATEORSUMM", + "CLASSADVISECOMM", + "SSPINDICATOR", + "TYPE", + "THIRDPARTY", + "EXPEDITEDREVIEW", }}, &res) fmt.Println(res) documentDetailsTemplate2.Execute(w, DocumentResponse{ |