kvarn-search

Crates.iokvarn-search
lib.rskvarn-search
version0.5.0
sourcesrc
created_at2022-01-13 19:47:52.494716
updated_at2024-02-04 23:11:23.077168
descriptionSearch engine extension for Kvarn
homepagehttps://kvarn.org/search.
repositoryhttps://github.com/Icelk/kvarn-search/
max_upload_size
id513509
size101,408
Icelk (Icelk)

documentation

README

crates.io version lines of code license

Kvarn search

Uses elipdotter to provide search capabilities for a Kvarn host.

Uses the file system and prepare_single extensions to get all documents to index.

To get more info, check out the section about this extension in my article about elipdotter.

This means this implementation currently does not crawl the local site.

This extension provides an endpoint which returns the result in JSON format. The scheme is described on icelk.dev.

For an example of a frontend, check out this portion of the overview at kvarn.org.

Cargo features

Enable the wordpress-sitemap feature to automatically index a WordPress site. You also have to set the option index_wordpress_sitemap option in Options to enable it.

Versions

  • 0.1.x - kvarn v0.4
  • 0.2.x - kvarn v0.4
  • 0.3.x - kvarn v0.4
  • 0.4.x - kvarn v0.5.x
  • 0.5.x - kvarn v0.6.x

Changelog

v0.5.0

  • Support Kvarn v0.6.0
  • Update elipdotter & scraper.

v0.4.0

  • Add hashes # to headings in preview (like headings are written in MarkDown)
  • Ignore Kvarn Chute generated table of content when indexing
  • Update to kvarn v0.5.0
  • Updated notify dependency

v0.3.2

  • Fixed issue when files has non-alphanumerical characters in them.

v0.3.1

  • Removed unwanted debugging.

v0.3.0

  • Updated elipdotter
    • See it's changelog for the comprehensive improvements to search results and performance.
  • Added option kind to choose the type of index. Using Simple takes less memory. Using Lossless is 10x faster but uses more memory (2-4x).

v0.2.0

  • Updated elipdotter
    • See it's changelog for the comprehensive improvements to search results and memory performance.
  • Added option ignore_paths to filter out documents from being indexed.

Development

Since this is used by some projects which require the git version of Kvarn, this requires Kvarn to be cloned at ../kvarn during development.

License

kvarn-search is licensed under the GNU LGPLv3. All contributions must also be.

Commit count: 77

cargo fmt