Commit graph

13 commits

Author SHA1 Message Date
Rok Garbas c45a1581b1
import channel script should be idempotent (#47) 2020-05-22 14:58:38 +02:00
Rok Garbas 2600984760
implemented index alias to make import atomic (#46) 2020-05-22 14:50:44 +02:00
Rok Garbas b264d7af55
some logging added and hidden behind --verbose flag (#45) 2020-05-22 13:03:31 +02:00
Rok Garbas 4629bc39cc
Format and link import script (#44)
* shorten name for import script
* format import script with black and lint with flake8
2020-05-22 12:43:57 +02:00
adisbladis 2868805c2d
Add top-level attrset to package documents (#37) 2020-05-22 00:41:42 +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
Jörg Thalheim 3816a7033a
import name as keyword (#30)
otherwise elasticsearch will performs stemming which removes important
information:

Example:

Name: "nixpkgs-review"
Elasticsearch with 'text' mapping: ["nixpkgs", "review"]

Now searching for *nixpkgs-review* will return no results.
2020-05-14 17:26:56 +02:00
Rok Garbas 645813cbd1
index as keywords (#24)
fixes #22
2020-05-11 23:33:25 +02:00
Rok Garbas 387d70eaa3
somehow in a working starte with bugs and missing features 2020-05-08 15:24:58 +02:00
Rok Garbas 40bd247ee9
add style to the search result 2020-04-10 10:13:50 +02:00
Rok Garbas f19216fe5a
make a request to elasticsearch, nothing fancy 2020-04-07 07:05:50 +02:00
Rok Garbas 8077030139
intial version of elm+webpack setup 2020-03-28 05:09:01 +01:00
Rok Garbas 5bccd8c0b2
initial version of import script 2020-03-28 02:34:38 +01:00