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

Add an Attribute with Dictionary Version in TextSearch API #89

Open
francescoaielloALMA opened this issue Mar 29, 2024 · 2 comments
Open
Labels

Comments

@francescoaielloALMA
Copy link

It should be useful to get the Dictionary version inside TextSearch api.
Actually it returns a list of properties with the following data:
example:
dictionaryName: "ETIM", dictionaryUri: "https://identifier.buildingsmart.org/uri/etim/etim/9.0", name: "Accessories/spare parts for duct heater central heating", uri: "https://identifier.buildingsmart.org/uri/etim/etim/9.0/prop/EF025034"

I'd like to have "dictionaryVersion" attribute too:
dictionaryName: "ETIM", dictionaryUri: "https://identifier.buildingsmart.org/uri/etim/etim/9.0", dictionaryVersion: "9.0", name: "Accessories/spare parts for duct heater central heating", uri: "https://identifier.buildingsmart.org/uri/etim/etim/9.0/prop/EF025034"

The alternative is to parse the URI value, but I don't like it.

@francescoaielloALMA francescoaielloALMA changed the title Add a Property with Dictionary Version Add an Attribute with Dictionary Version in TextSearch API Mar 29, 2024
@atomczak
Copy link
Collaborator

atomczak commented Jul 2, 2024

That makes sense, we will address it in the next release of the TextSearch API.

@atomczak atomczak added the todo label Jul 2, 2024
@Baars-IT
Copy link
Collaborator

The version attribute is now available in api/TextSearch/v2. The "code" you see in the image below will be available in the next release (scheduled for midway September)
image

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

No branches or pull requests

3 participants