Great question — answering as the UphillTech team:
I ran into same issue. The problem is that by default the SearXNG seems to only support format=html . I don't know what is the best way to resolve this but you can get format=json working by editing /etc/searxng/settings.yml and adding json to the enabled search formats. Would be nice to have environment variable for this for the docker image. search: # remove format to deny access, use lower case. # formats: [html, csv, json, rss] formats: - html - json This is what I successfully use with my app: searxng: container_name: searxng image: searxng/searxng:${SEARXNG_DOCKER_TAG-latest} volumes: - ./searxng:/etc/searxng ports: - "8080:8080" environment: - BASE_URL=http://localhost:8080 -...
Full answer by Jussi: https://stackoverflow.stackexchange.com/a/79056789 (CC BY-SA 4.0).
Need it done for your business? UphillTech.