Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#9498 - fixing issue while searching for TermUri field that is a compound field #9499

Conversation

luddaniel
Copy link
Contributor

@luddaniel luddaniel commented Apr 5, 2023

What this PR does / why we need it:

This PR will allow a compound field that is set as "term-uri-field" in cvoc-conf.json file to be indexed in SOLR with all values of externalvocabularyvalue.value table.
Without this PR, only when "field-name" equals "term-uri-field", values cached from a skosmos term will be indexed properly.

Which issue(s) this PR closes:

Closes #9498

Suggestions on how to test this:

Make sure that you can search Term in different languages using non compound or compound field with skosmos external vocab support (CVOC).
Example with non compound field :

"field-name": "skosterm",
"term-uri-field": "skosterm",

Example with compound field :

"field-name": "cvocDemo",
"term-uri-field": "cvocDemoTermURI",

Is there a release notes update needed for this change?:

Why not

Additional documentation:

related to commit 552a34a
Also, I have no idea if the change is needed is another function like json exporter.

@qqmyers
Copy link
Member

qqmyers commented Apr 5, 2023

@luddaniel - thanks for the fix. I think this is already in #9402 - there were several places where trying to use the external vocab mechanism on a single child did not work.

@luddaniel
Copy link
Contributor Author

Yes it's already in https://github.com/IQSS/dataverse/pull/9402/files#diff-1a01af3c6f5f9893743e27eb5b74bcf87abadf4aea927690bd9f8d179926349d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CVOC : Searching External Vocab Values and compound fields
2 participants