Indexing in elasticsearch #24
Unanswered
homework36
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I found that Elasticsearch has disabled the JSON-LD plugin. This means that we can no longer send compact JSON-LD to the server and have it expanded on the server. Instead, we can only expand JSON-LD first and then send it to the server. However, there's an important issue related to this approach. Here's a simplified example from CantusDB:
In this example, the property name "finalis" is expanded to a link. During the indexing process, Elasticsearch sanitizes this link into text (and it has to be done this way. We might be able to do type keyword but it won't be much different). This means if we want to run a query like "finalis=F," we must use "[the long link]=F," which is almost useless. I don't know how to resolve this issue. I did some research, and it seems there are two potential solutions:
But this would only enable "finalis=F," and we have to manually add all the names/synonyms, which doesn't seem to fit our goal...
I might misunderstand some features regarding jsonld and linked data, so any help or idea is very much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions