package ez_search

  1. Overview
  2. Docs

Description

ez_search is a library for indexing files and searching content with rexgexps. It creates a dababase of two files (one with the raw files, one with the index) on disk. The database can then be searched for occurrences of regexps, using either [Re] or [Str]. Direct string matching and case insensitive searches are also supported. Ez_search can [mmap] the database to decrease its memory footprint, and [Parmap] to search the database on multiple cores in parallel (in which case the results may overlap). It also provides a "context extraction" feature to display lines above and after an occurrence.

Tags

org:ocamlpro

Published: 08 Mar 2022

README

README.md

ez_search

This is the description of the ez_search OCaml project

  • Website: https://ocamlpro.github.io/ez_search

  • General Documentation: https://ocamlpro.github.io/ez_search/sphinx

  • API Documentation: https://ocamlpro.github.io/ez_search/doc

  • Sources: https://github.com/ocamlpro/ez_search

Dependencies (6)

  1. ez_cmdliner >= "0.2"
  2. ez_file >= "0.3"
  3. parmap >= "1.2.3" & < "2.0.0"
  4. re >= "1.8.0" & < "2.0.0"
  5. dune >= "2.7.0"
  6. ocaml >= "4.07.0"

Dev Dependencies (4)

  1. ocamlformat with-test
  2. odoc with-doc
  3. ppx_expect with-test
  4. ppx_inline_test with-test

Used by (1)

  1. ocp-search

Conflicts (1)

  1. base-domains