Merge lp:~sergiusens/snapweb/queryPackageNames into lp:~snappy-dev/snapweb/trunk
| Status: | Merged |
|---|---|
| Approved by: | Sergio Schvezov on 2015-05-28 |
| Approved revision: | 139 |
| Merged at revision: | 146 |
| Proposed branch: | lp:~sergiusens/snapweb/queryPackageNames |
| Merge into: | lp:~snappy-dev/snapweb/trunk |
| Diff against target: |
100 lines (+25/-16) 2 files modified
snappy/converge.go (+22/-6) snappy/handlers.go (+3/-10) |
| To merge this branch: | bzr merge lp:~sergiusens/snapweb/queryPackageNames |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Sergio Schvezov | Approve on 2015-05-28 | ||
| Stephen Stewart (community) | 2015-05-08 | Approve on 2015-05-27 | |
| John Lenton | 2015-05-26 | Pending | |
|
Review via email:
|
|||
This proposal supersedes a proposal from 2015-05-08.
Commit Message
Adding support for package name queries (with some polish along the way).
- 139. By Sergio Schvezov on 2015-05-08
-
Don't do useless operations when we have the availability of someone else doing it for us.
| Stephen Stewart (stephen-stewart) wrote : | # |
| Sergio Schvezov (sergiusens) wrote : | # |
Querying for 8nzc1x4iim2xj1g
10:18 < nessita> sergiusens, try this https:/
10:18 < nessita> ie, with double quotes, I'll explain why
10:21 < nessita> sergiusens, our package index performs analysis for both the data being indexed, and the search term. The
10:23 < nessita> sergiusens, using quotes all the time is a bad idea, quotes mean exact match
10:24 < sergiusens> nessita: right, so then beowulf using the strange package name for searching is a bad idea
10:24 < sergiusens> for testing it at least
10:24 < sergiusens> as in eyeball testing
10:25 < nessita> sergiusens, indeed. Ideally, a user will search for keywords, such as "news" and we want to include results for


I see the same results no matter what the query. Have I got the format correct?
http:// webdm.local: 4200/api/ v2/packages/ ?q=8nzc1x4iim2x j1g2ul64