Open netchampfaris opened 9 months ago
@netchampfaris I remember some API call with frappe.call
sent it over as a string.
That is weird - search works for me. Are you sure you have the latest version? Fuzzy fields is only supported after tantivy-py#202 was merged.
You can now test this by creating the directory frappe-search-index
in your site.
The index path is hardcoded, must have been an oversight. I think index should be specific to a site and should go inside the site folder.
https://github.com/safwansamsudeen/frappe_search/blob/e25eaa5fc7b73b6f76e9d71fb39cd3b3586a6a34/frappe_search/frappe_search/doctype/search/search.py#L21
This is the error I got when I ran the command
bench --site gameplan.frappe.test execute frappe_search.api.build_index
https://github.com/safwansamsudeen/frappe_search/blob/e25eaa5fc7b73b6f76e9d71fb39cd3b3586a6a34/frappe_search/api.py#L10-L13
There shouldn't be a case where boolean value is sent as string. Also
group_by
>groupby
.Finally the search API call also breaks with the following error:
Other:
sites/sitename/frappe_search_index
)