Packages
An Elixir library for searching and fetching controlled vocabulary authority terms
Current section
38 Versions
Jump to
Current section
38 Versions
Compare versions
4
files changed
+11
additions
-9
deletions
| @@ -14,7 +14,7 @@ Add `authoritex` to your list of dependencies in `mix.exs`: | |
| 14 14 | ```elixir |
| 15 15 | def deps do |
| 16 16 | [ |
| 17 | - {:authoritex, "~> 1.0.0"} |
| 17 | + {:authoritex, "~> 3.0"} |
| 18 18 | ] |
| 19 19 | end |
| 20 20 | ``` |
| @@ -79,11 +79,11 @@ See `Authoritex.Mock` | |
| 79 79 | |
| 80 80 | `Authoritex` supports (i.e., is tested against) a matrix consisting of the three most recent Elixir minor versions and up to three most recent Erlang/OTP major versions (depending on Elixir compatibility). Right now, that means: |
| 81 81 | |
| 82 | - | Elixir/OTP | 26 | 27 | 28 | |
| 83 | - |------------|----|----|----| |
| 84 | - | **1.19** | | ✔️ | ✔️ | |
| 85 | - | **1.18** | ✔️ | ✔️ | | |
| 86 | - | **1.17** | ✔️ | | | |
| 82 | + | Elixir/OTP | 26 | 27 | 28 | |
| 83 | + | ---------- | --- | --- | --- | |
| 84 | + | **1.19** | | ✔️ | ✔️ | |
| 85 | + | **1.18** | ✔️ | ✔️ | | |
| 86 | + | **1.17** | ✔️ | | | |
| 87 87 | |
| 88 88 | Support for other versions/combinations is possible (probable, even), but unsupported. |
| @@ -1,6 +1,6 @@ | |
| 1 1 | {<<"links">>,[{<<"GitHub">>,<<"https://github.com/nulib/authoritex">>}]}. |
| 2 2 | {<<"name">>,<<"authoritex">>}. |
| 3 | - {<<"version">>,<<"3.1.0">>}. |
| 3 | + {<<"version">>,<<"3.1.1">>}. |
| 4 4 | {<<"description">>, |
| 5 5 | <<"An Elixir library for searching and fetching controlled vocabulary authority terms">>}. |
| 6 6 | {<<"elixir">>,<<"~> 1.17">>}. |
| @@ -56,7 +56,9 @@ defmodule Authoritex.OpenSearch do | |
| 56 56 | bool: %{ |
| 57 57 | must: [%{term: %{authority: %{value: code}}}], |
| 58 58 | should: [ |
| 59 | - %{match_phrase: %{label: %{query: query, boost: 2}}}, |
| 59 | + %{term: %{label: %{value: query, boost: 10}}}, |
| 60 | + %{match_phrase: %{label: %{query: query, boost: 5}}}, |
| 61 | + %{term: %{variants: %{value: query, boost: 2}}}, |
| 60 62 | %{match_phrase: %{variants: %{query: query, boost: 1}}} |
| 61 63 | ] |
| 62 64 | } |
| @@ -1,7 +1,7 @@ | |
| 1 1 | defmodule Authoritex.MixProject do |
| 2 2 | use Mix.Project |
| 3 3 | |
| 4 | - @version "3.1.0" |
| 4 | + @version "3.1.1" |
| 5 5 | @url "https://github.com/nulib/authoritex" |
| 6 6 | |
| 7 7 | def project do |