yeraydiazdiaz / lunr.py

A Python implementation of Lunr.js 🌖
http://lunr.readthedocs.io
MIT License
188 stars 16 forks source link

Index customisation #95

Closed yeraydiazdiaz closed 3 years ago

yeraydiazdiaz commented 3 years ago

Allow passing a Builder instance to lunr enabling the customisation controls featured in lunr.js, i.e. tweaking pipelines (https://github.com/yeraydiazdiaz/lunr.py/issues/75) and metadata whitelisting (https://github.com/yeraydiazdiaz/lunr.py/issues/77)

Closes #75 Closes #77

codecov-commenter commented 3 years ago

Codecov Report

Merging #95 (05ebf87) into master (37dbbe0) will increase coverage by 0.04%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #95      +/-   ##
==========================================
+ Coverage   98.29%   98.34%   +0.04%     
==========================================
  Files          20       23       +3     
  Lines        1058     1088      +30     
  Branches      198      199       +1     
==========================================
+ Hits         1040     1070      +30     
  Misses         10       10              
  Partials        8        8              
Impacted Files Coverage Δ
lunr/__init__.py 100.00% <100.00%> (ø)
lunr/__main__.py 100.00% <100.00%> (ø)
lunr/pipeline.py 100.00% <100.00%> (ø)
lunr/trimmer.py 100.00% <0.00%> (ø)
lunr/utils.py 100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 37dbbe0...05ebf87. Read the comment docs.