erlef / rebar3_hex

Rebar3 Hex library
Apache License 2.0
101 stars 49 forks source link

Search inside package descriptions, too #30

Closed lbolla closed 5 years ago

lbolla commented 8 years ago

It looks like at the moment search only considers the package name. It'd be useful if it used the package description, too.

E.g. no results when searching for postgresql:

lbolla@albion ~ > rebar3 hex search postgresql
lbolla@albion ~ >

Even if epgsql has "Postgresql" in its description: https://hex.pm/packages/epgsql

starbelly commented 5 years ago

This is now the behavior of search, so I think this ticket can be closed @tsloughter

 ~/foo rebar3 hex search postgresql                                                                                                    Sat Apr 13 09:57:17 2019
Name                     Version  Description                                            URL

postgrex                 0.9.1    PostgreSQL driver for Elixir                           https://hex.pm/packages/postgrex
eventstore               0.9.0    EventStore using PostgreSQL for persistence.           https://hex.pm/packages/eventstore
epgsql                   4.2.1    PostgreSQL Client                                      https://hex.pm/packages/epgsql
postgrex_cdb             0.13.5   PostgreSQL driver for Elixir compatible with Cockr...  https://hex.pm/packages/postgrex_cdb
p1_pgsql                 1.1.7    PostgreSQL driver                                      https://hex.pm/packages/p1_pgsql
dqe_idx_pg               0.5.7    Postgresql backend for DFE indexinge                   https://hex.pm/packages/dqe_idx_pg
ecto_job                 2.0.0    A transactional job queue built with Ecto, Postgre...  https://hex.pm/packages/ecto_job
backy                    0.0.9    A simple background job queue backed by postgresql...  https://hex.pm/packages/backy
ecto_ltree               0.1.0    A library that provides the necessary modules to s...  https://hex.pm/packages/ecto_ltree
repo                     0.7.2    Data mapper and and DSL for writing queries and in...  https://hex.pm/packages/repo