• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zestedesavoir / zds-site / 7219
89%

Build:
DEFAULT BRANCH: dev
Ran 05 Feb 2017 08:46AM UTC
Jobs 3
Files 196
Run time 5min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
7219

push

travis-ci

vhf
Recherche via Elasticsearch (#4096)

* add elastisearch modules and define base models

* basic indexing with and without flags

* add migration for post

* check if pk and id match

* Include forum into search

* Merry christmas, @vhf and @artragis

* Attempt to index published contents and chapters (with some tricks)

* use a slightly different trick for chapters

* Index text directly with PublishedContent if article or mini-tuto

* add custom analyzer

* Improve analyzer for programming language

* argparse is magic, thx @artragis !

* asciifolding is a wrong choice after all

* implementation of basic search (no boosting, no type selection, no highlighting)

* elif instead of if

* weighting the different models

* improve index creation (set mapping at the same time)

* Improve stuffs:

- Add fields
- Format search items (including date)
- Remove forums into which the user is not supposed to go

* smaller is better (thx again, @artragis)

* to be consistant, use text_html for posts

* fix templatetags to prevent errors comming from fixtures

* attempt highlighting with ES

* dont use order=score if continuous text

* boost is now also performed based on the other criterions

* Implement correct deletion (with weirds relationships for published contents)

* invisible posts must still be indexed but wiped out from the query

* form is not invalid

* correct way to connect, and prevent work when there is no connection

* shut up, Travis

* prevent research page from failing while ES is not there

* more control over index creation through settings

* use a custom tokeinzer to get rid of all the special characters included by zMD

* Supprime le CSS de la recherche de l'ancienne page d'accueil (pre-ZEP 4)

* Utilise la barre de recherche de la page d'accueil pour la page de recherche

* Improve form:

- A touch of CSS (improved to use Django's way of doing forms, thx @Situphen ... (continued)

659 of 659 new or added lines in 14 files covered. (100.0%)

12992 of 14703 relevant lines covered (88.36%)

1.28 hits per line

Uncovered Changes

Lines Coverage ∆ File
28
100.0
zds/searchv2/models.py
5
100.0
zds/searchv2/views.py
4
100.0
zds/tutorialv2/models/models_database.py
3
100.0
zds/utils/templatetags/elasticsearch.py
2
100.0
zds/searchv2/__init__.py
2
100.0
zds/searchv2/forms.py
2
100.0
zds/searchv2/management/commands/es_manager.py
2
100.0
zds/utils/templatetags/date.py
Jobs
ID Job ID Ran Files Coverage
1 7219.1 (TEST_APP="-e back_mysql -- zds.member zds.mp zds.utils zds.forum zds.gallery zds.pages zds.featured zds.notification zds.searchv2") 05 Feb 2017 08:52AM UTC 0
73.42
Travis Job 7219.1
2 7219.2 (TEST_APP="-e back_mysql -- zds.tutorialv2") 05 Feb 2017 08:48AM UTC 0
54.3
Travis Job 7219.2
3 7219.3 (TEST_APP="-e front") 05 Feb 2017 08:46AM UTC 0
Travis Job 7219.3
Source Files on build 7219
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7219
  • 807fa2d5 on github
  • Prev Build on dev (#7209)
  • Next Build on dev (#7222)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc