Releases: clj-codes/docs.extractor
Releases · clj-codes/docs.extractor
v0.3.4
What's Changed
- fix: adds source paths on lsp by @rafaeldelboni in #20
Full Changelog: v0.3.3...v0.3.4
v0.3.3
What's Changed
- Add clojure-lsp by @ericdallo in #19
New Contributors
- @ericdallo made their first contribution in #19
Full Changelog: v0.3.2...v0.3.3
v0.3.2
What's Changed
- feat: add more libs to the database by @rafaeldelboni in #18
Full Changelog: v0.3.1...v0.3.2
v0.3.1
Breaking change
Depends on datalevin/datalevin {:mvn/version "0.9.3"}
onwards
What's Changed
- bump: deps and libs by @rafaeldelboni in #17
Full Changelog: v0.3.0...v0.3.1
v0.3.0
Breaking Change
Because of the new full-text index analyzers, this database requires this minimal connection opts to be used:
(require '[datalevin.interpret :refer [inter-fn]])
(defn merge-tokenizers
"Merges the results of tokenizer a and b into one sequence."
[tokenizer-a tokenizer-b]
(inter-fn [^String s]
(into (sequence (tokenizer-a s))
(sequence (tokenizer-b s)))))
(def conn-opts
(let [query-analyzer (su/create-analyzer
{:tokenizer (merge-tokenizers
(inter-fn [s] [[s 0 0]])
(su/create-regexp-tokenizer #"[\s:/\.;,!=?\"'()\[\]{}|<>&@#^*\\~`\-]+"))
:token-filters [su/lower-case-token-filter]})]
{:search-domains {"project-name" {:query-analyzer query-analyzer}
"namespace-name" {:query-analyzer query-analyzer}
"definition-name" {:query-analyzer query-analyzer}}}))
(d/get-conn "path/to/db" nil conn-opts)
What's Changed
- fix: consider full symbol as index by @rafaeldelboni in #16
Full Changelog: v0.2.1...v0.3.0
v0.2.1
What's Changed
- feat: better fulltext example and analyzers by @rafaeldelboni in #15
Breaking Change
Because of the new full-text index analyzers, this database requires this minimal connection opts to be used:
(def conn-opts
(let [query-analyzer (su/create-analyzer
{:tokenizer (su/create-regexp-tokenizer #"[\s:/\.;,!=?\"'()\[\]{}|<>&@#^*\\~`\-]+")
:token-filters [su/lower-case-token-filter]})]
{:search-domains {"project-name" {:query-analyzer query-analyzer}
"namespace-name" {:query-analyzer query-analyzer}
"definition-name" {:query-analyzer query-analyzer}}}))
(d/get-conn "path/to/db" nil conn-opts)
Full Changelog: v0.2.0...v0.2.1
v0.2.0
Breaking Change
Because of the new full-text index analyzers, this database requires this minimal connection opts to be used:
(def conn-opts
(let [query-analyzer (su/create-analyzer
{:tokenizer (su/create-regexp-tokenizer #"[\s:/\.;,!=?\"'()\[\]{}|<>&@#^*\\~`\-]+")
:token-filters [su/lower-case-token-filter]})]
{:search-domains {"project-name" {:query-analyzer query-analyzer}
"namespace-name" {:query-analyzer query-analyzer}
"definition-name" {:query-analyzer query-analyzer}}}))
(d/get-conn "path/to/db" nil conn-opts)
What's Changed
- feat: fulltext index tokens by @rafaeldelboni in #14
Full Changelog: v0.1.2...v0.2.0
v0.1.2
What's Changed
- bump: libs by @rafaeldelboni in #10
- feat: new fulltext index and extra fields by @rafaeldelboni in #13
Full Changelog: v0.1.1...v0.1.2
v0.1.1
What's Changed
- Fix/adds datalevin support for new jvms by @rafaeldelboni in #8
- feat: adds extra definitions in config / manual lists by @rafaeldelboni in #9
Full Changelog: v0.1.0...v0.1.1