Hey, here it is:

:entMap                 a                                   text:EntityMap ;
                        text:entityField                    "uri" ;
                        text:defaultField                   "text" ;
                        text:uidField                       "uid" ;
                        text:map                            (
                                                                [
text:field  "text" ;  text:predicate  rdfs:label ]
                                                                [
text:field  "text" ;  text:predicate  knora-base:valueHasString ]
                                                                [
text:field  "text" ;  text:predicate  knora-base:valueHasComment ]
                                                            ) .

Kind regards,
Raitis

On Wed, Apr 2, 2025 at 9:43 PM Øyvind Gjesdal <[email protected]> wrote:
>
> Hi,
>
> I tried to recreate the issue by copying and rewriting an existing test,
> but for some reason it looks like it is passing.
> One difference I noticed (don't know if it is relevant) in the test is that
> the analyzer which passed was placed slightly differently in the config.
> (Inside the text:map, inside the definition of the index field itself. )
> I tried using your config here (inserted into analyzer), which gave  the
> expected results from the wildcard. using the query *?s text:query (
> rdfs:label "uni*" 10 ) .*
>
>
> text:map (",
> "         [ text:field \"label\" ; ",
> "           text:predicate rdfs:label ;",
> "           text:analyzer [ a " + analyzer + " ]",
> "         ]",
>
>
> For further debugging, could you also add your entity map section of
> the config?
>
> Best regards,
>
> Øyvind
>
>
> On Wed, Apr 2, 2025 at 6:24 PM Raitis Veinbahs
> <[email protected]> wrote:
>
> > Hey Andy, it is 5.2.0.
> >

Reply via email to