Skip to content

Releases: clj-codes/docs.extractor

v0.3.4

25 Mar 15:51
5ecbe17
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.3...v0.3.4

v0.3.3

25 Mar 15:15
36df30e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3.2...v0.3.3

v0.3.2

23 Mar 23:59
cd52d6c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.1...v0.3.2

v0.3.1

23 Mar 12:58
fd7a94e
Compare
Choose a tag to compare

Breaking change

Depends on datalevin/datalevin {:mvn/version "0.9.3"} onwards

What's Changed

Full Changelog: v0.3.0...v0.3.1

v0.3.0

27 Feb 20:07
ea45b49
Compare
Choose a tag to compare

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

Full Changelog: v0.2.1...v0.3.0

v0.2.1

24 Feb 22:51
59369ac
Compare
Choose a tag to compare

What's Changed

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

23 Feb 14:00
8a29667
Compare
Choose a tag to compare

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

Full Changelog: v0.1.2...v0.2.0

v0.1.2

19 Feb 00:00
80609fb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.1...v0.1.2

v0.1.1

14 Jun 19:27
85b984f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.0...v0.1.1

v0.1.0

02 May 14:25
ea7d95f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.2...v0.1.0