kontext icon indicating copy to clipboard operation
kontext copied to clipboard

FCS v1 module is broken

Open tomachalek opened this issue 2 years ago • 1 comments

Basically, any operation produces some exception. The fix should be applied to the following versions:

  • 0.15.2
  • 0.16
  • master (devel)

tomachalek avatar Jun 17 '22 13:06 tomachalek

@tomachalek, pls. mention me when the issue is resolved, so I get notified.

TomazErjavec avatar Jun 17 '22 14:06 TomazErjavec

We have a backport of the most recent KonText FCS module. We're going to test it a bit yet and it should be production ready in a few days.

It will require a slight config.xml upgrade. Here is an example of an CNC configuration:

<kontext>
...
    <fcs>
        <database_title>Czech National Corpus Endpoint</database_title>
        <database_description>A selection of Czech flagship CNC corpora</database_description>
        <search_attributes>
            <item>lemma</item>
            <item>lc</item>
            <item>word</item>
        </search_attributes>
        <corpora>
            <item>syn2020</item>
            <item>oral_v1</item>
        </corpora>
    </fcs>
    ...
</kontext>

As you can see, it implies that the search_attributes and concrete corpora must be selected in a way that all the attributes can be found in all the corpora. And all the listed corpora must be already configured for KonText (e.g. via a dedicated xml file).

tomachalek avatar Oct 26 '23 08:10 tomachalek

Everything seems ok. The endpoint now validates without errors: image

tomachalek avatar Oct 26 '23 14:10 tomachalek

A new version 0.15.3 has been published to include this fix (https://github.com/czcorpus/kontext/releases/tag/v0.15.3)

tomachalek avatar Oct 27 '23 09:10 tomachalek