censusreporter / census-api

The home for the API that powers the Census Reporter project.
MIT License
166 stars 50 forks source link

Improve place and table search #43

Closed iandees closed 5 years ago

iandees commented 8 years ago

Go back to using full text search (via Elasticsearch or Postgres).

Here are some ideas for place searches and the expected outputs:

Joonpark13 commented 8 years ago

@tuchandra and I are currently working on this on the full-text-search branch using postgres. Currently we're looking at tables only and starting out by incorporating table title, subject area, column titles, and universe (weighted from highest to lowest, respectively).

iandees commented 8 years ago

Thanks for the update, @Joonpark13!

tuchandra commented 8 years ago

This has been implemented in the pull request for full-text-search, #46.

In our version of the search in the full-text-search branch, both queries now have the behavior as described (tested just now).

JoeGermuska commented 5 years ago

Both of these examples work in the public interface as described. This was just overlooked to close.