fergiemcdowall / norch

A search server that can be installed with npm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make simple query model for /search and /matcher endpoints?

eklem opened this issue · comments

To make i.e. the matcher work with autosuggests (opensearch), it would be nice to be able to write the query testas this:

http://localhost:3030/matcher?q=test

Seems like a lot of different software thinks this is the only way a search engine takes input.
Would it be possible to have this kind of simple approach for the /search and /matcher endpoints?

I think it will have two good effects:

  • Some software (i.e. this typeahead-module) won't work with the actual query inside a JSON object.
  • The easy start: Norch is an easy way to start with search-index, and this way of querying will make the threshold even lower. It's good to be able to see if your search engine is working before you fully grasp the more advanced query model