Commit graph

45 commits

Author SHA1 Message Date
Rok Garbas 5bb94c9c92
Adds faceted search (#261) 2021-01-23 17:25:43 +01:00
Marek Fajkus f624c117cb
Add semanticaly clickable button element to result list (#260)
- improves usability with keyboard #258
- improves accessbility

See #259 for other relevant discussion

Co-authored-by: Rok Garbas <rok@garbas.si>
2021-01-06 15:58:41 +01:00
Marek Fajkus aa366aa31c
Implement scroll to package (#257) 2020-12-28 23:18:56 +01:00
Marek Fajkus 08943214d2
Fixes support for packages with multiple homepage entries. (#255) 2020-12-28 23:14:00 +01:00
Rok Garbas 274e65711a
Pretty print nix examples and default fields in options (#252) 2020-12-16 12:45:10 +01:00
Marek Fajkus ecf71f5932
Fix links to github sources (#232) 2020-11-24 00:06:41 +01:00
Marek Fajkus fe04d9b14e
Refactor route structure (#219) 2020-10-30 19:13:55 +01:00
Marek Fajkus e412085ea8
Support search engine escaping of spaces (+) (#215) 2020-10-28 19:51:01 +01:00
Andreas Rammhold 33c2c8a837
Always use NixOS/nixpkgs instead of NixOS/nixpkgs-channels (#208)
Links in the search results for NixOS 20.09 started throwing 404
otherwise. Not all channels are being pushed to nixpkgs-channels as
apparently it is being phased out.
2020-10-06 20:26:07 -04:00
Rok Garbas 86ad9d036d
Reworked search query (#197)
- still muse multi_match but now with cross_fields type
- add edge n-gram index field since cross_fields works only with match
  and this way we can have prefix support
- suffix support is still supported as before by reversing the words in
  data and query
- for query we now create variations of all multi_match queries. from 2
  words you get 4 queries, from 3 works you get 8 queries and so on.
2020-09-23 14:39:36 +02:00
Rok Garbas 1ecf99c711
in older channels email was conditional (#194)
fixes #193
2020-09-17 17:32:30 +02:00
Rok Garbas 7f91e92d8f
maintainer.name field can also be null (#182)
fixes #181
2020-09-07 18:36:24 +02:00
Rok Garbas c12f4dfb6c
add suffix search (or reverse prefix) (#176)
also fixes #170
2020-09-01 17:20:35 +02:00
Rok Garbas 2ffaefeba0
Using whitespace as analyzer reduces too much the matched items (#174) 2020-08-31 11:39:05 +02:00
Rok Garbas b4a653519c
rework ranking queries (#168) 2020-08-30 01:03:09 +02:00
Rok Garbas 0ef75fa71d
allways display default value for fields in result details (#155)
fixes #154
2020-08-24 12:11:53 +02:00
Rok Garbas e4fec33f2b
Dont reload when showing result item details (#152)
fixes #148
fixes #142

also adding missing fields to package details view
2020-08-21 22:23:37 +02:00
Rok Garbas 91527f1deb
space should present an OR operation in query (#150)
filtering part of the query was messed up when I added search over multiple
fields.

fixes #147
fixes #149
2020-08-21 21:23:21 +02:00
Rok Garbas 818074f626
add longDescription to the list of fields we search over (#146)
fixed #134
2020-08-10 14:55:56 +02:00
Rok Garbas bbec7b2a5b
search on multiple fields not just package_attr_name or option_name (#145)
fixes #134
2020-08-08 01:22:52 +02:00
Rok Garbas 44cbea8547
remove suggestions feature (#141) 2020-07-24 23:01:16 +02:00
Rok Garbas cc5e4a540d
Allow to show results alphabetically (#133)
fixed #119
2020-07-10 09:49:43 +02:00
Rok Garbas 4173453098
Adjust ranking of should_match_bool_prefix queries (#130)
fixes #114
2020-07-09 22:28:49 +02:00
Rok Garbas 5a5395a19b
Pointing to correct branch for different channels (#113) 2020-07-06 20:55:48 +02:00
Rok Garbas 46c7eaa46b
Some UX fixes for showing suggestions (#112)
* focus on query input when showing page
* less visible reloading of suggestions when typing
2020-07-06 14:27:37 +02:00
adisbladis 1f8939b3af
Suggestions for search field (#74) 2020-07-02 14:27:49 +02:00
Rok Garbas 3ecce08a94
Improve option search ranking (#107) 2020-06-19 08:53:49 +02:00
Rok Garbas c420d05815
improve packages search query (#102) 2020-06-18 12:24:52 +02:00
Rok Garbas 7a73578d7c
handle 10000 package limit in the UI correctly (#99)
fixes #94

Co-authored-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
2020-06-15 09:51:09 +02:00
Rok Garbas f3139f56bf
Fixes wonky selection of item in search result (#90)
fixes #62
2020-06-11 18:29:51 +02:00
Rok Garbas 7f2ed39fef
Fix how we display default/example/description of an option (#86)
* description is now converted to html at import time
* default/example should now realize what is an non-value and what is
  "None" (as string) value

fixes #69
fixes #67
2020-06-11 08:44:54 +02:00
Rok Garbas 12bea73597
user attr_name and option_name for showDetailsFor (#83)
fixes #61

showDetailsFor -> show
2020-06-10 14:15:54 +02:00
Rok Garbas 9413e66d90
Provide correct link to hydra job or if exists build (#81)
also add --force option to import-channel script which will always recreate index

fixes #72
2020-06-10 13:48:53 +02:00
Rok Garbas c79de4b2df
Point to correct github location (#77)
fixes #70
2020-06-10 02:01:27 +02:00
Rok Garbas b7df41a891
reduce the platform list and add platform link to hydra (#76)
fixes #73
fixes #72
2020-06-10 01:53:17 +02:00
Rok Garbas d6803efa38
use schema version also in packages index (#58) 2020-06-05 01:53:18 +02:00
adisbladis 0a6369ea86
improve nixos options search (#55)
Co-authored-by: Rok Garbas <rok@garbas.si>
2020-06-04 01:33:54 +02:00
Rok Garbas ae670990dd
use one index per channel (#54) 2020-06-03 21:02:12 +02:00
Rok Garbas 2600984760
implemented index alias to make import atomic (#46) 2020-05-22 14:50:44 +02:00
adisbladis 042cb40a8e
Use a custom attrname analyzer (#35)
* Use unsigned boto s3 requests, 

Without this change you need s3 credentials, even though the bucket is public

* Use custom attrname analyzer

* Adapt query to new schema

Use pname/pversion to not clash with elasticsearch parsing of version
2020-05-19 12:54:48 +02:00
Rok Garbas ce2121e30e
channel drowdown (#21) 2020-05-11 22:42:57 +02:00
Rok Garbas c47f1c0ccb
Pagination of search results (#20) 2020-05-11 21:56:10 +02:00
Rok Garbas 4efb8ddfec
package and option detailed view (#17)
fixes #12
fixes #13
2020-05-11 16:06:10 +02:00
Rok Garbas f25b287926
make request to the right search page, fixes #4 (#7) 2020-05-08 16:56:14 +02:00
Rok Garbas 387d70eaa3
somehow in a working starte with bugs and missing features 2020-05-08 15:24:58 +02:00