Thanks, Dmitry!
Though the parameter for a 'namespace-to-map' with a name "Database" looks weird.
- Log in to post comments
Thanks, Dmitry!
Though the parameter for a 'namespace-to-map' with a name "Database" looks weird.
Interesting about MANAGEDEXTENT.
I'm curious, what are the typical use cases, when MANAGEDEXTENT can be helpful?
Interesting. Never knew about MANAGEDEXTENT parameter, mentioned by @Robert.Cemper. And yes, backup your globals.
But in your case, @Nikita Savchenko, I would go with the following. Consider you have class A and rename it to class B.
1 - is yours.
1a. When duplicating be SURE, that you take class storage definition from A, not generate it because of compile. Change places with global A to global B in storage definition and compile class B.
It's MANDATORY to take class A storage def to B class definition and compile after that and not use generated storage definition in class B.
2. Merge data globals from class A to class B. E.g.
USER> m ^BD=^AD
3-4 - yours.
5. Load new scripts and make global merges and test.
6. Is yours.
Hi, Guilherme!
You are invited!
Also you are able to join with your WRC account, as it is shown here.
Welcome to the club!
Hi, Mike! Will do, but have you tried with WRC via this entrance?
Click on it and you'll be redirected to InterSystems Login

This is beautiful!
Thanks, Konstantin!
And here is the link to the demo.
Do you want to add an option to share the search? E.g. introduce some share results button in UI which would provide an URL with added search option in URL? It would be very handy if you want to share search results with a colleague.
Hi, Kevin!
There is a good article by @Vitaliy Serdtsev related to the topic (Russian to English translation).
Hi, Kevin!
Makes sense to me. We'll put it in a queue.
Thanks, Robert!
Thanks, Danny!
Actually, I raised already similar discussion but I still prefer object callbacks because of better code readability.
BTW, if I have both unified Trigger and OnBeforSave callback would they fire both?
And why don't we have unified ObjectScript callbacks?
Thanks for raising that, Udo! Sure it is helpful for a lot of people. And here is the full list of tags.
Hi, Kevin!
I can advise trying Caché Class Explorer which exposes packages, classes, methods with code and interactively points to classes documentation on a given server and can be used to solve your task in my opinion.
Pinging @Nikita Savchenko to provide more information.
Inviting @Luca Ravazzolo to the conversation.
Hi, Romero!
Look at this project which does search for Documentation with iKnow and iFind by @Konstantin.Eremin. Demo. Github.
It uses iKnow for autocomplete functionality in a search box.
Hi, Vitaly!
Thanks for your input! This is very interesting and totally different approach to solve the task which I like every time about InterSystems technology that problems can be solved with different approaches and you never know how many options even exist )
Hi!
Here is the remastered version of Meetup live stream recording.
So, the final recipe looks like following:
For Insert and Update calculate the hash e.g. with MD5 and put it in Hash property. Index it with not unique index.
Find duplicates with SQL query on Hash where group by for hash shows more than one occurrence.
Loop through all the values with same hash just and check Text property values to be sure that they are duplicates but not hash collisions.
Thanks, Alex, Dmitry, Robert!
True, but it can find also similar, but not identical, right?
Thank you, Mike! Indeed the results are odd sometimes. We'll investigate the case.
Hi, Robert!
Thanks! That's really nice!
Thanks, @Alexey Maslov! What is the preferred algorithm to use hashes in this case?
And what about collisions? Should I care about that too?
Thanks, Eduard. But I'm looking for duplicates, not for similar records. How can %SIMILARITY help here?
Thanks, Dmitry. Yes, the focus is - best performance.
But what about the index declaration? There is a limitation of 511 symbols in an index, right?
Should I put that in an index declaration or it will solve it for me automatically if I index an entry with value >511 symbols?
I also want to share Atelier playlist on the InterSystems Developers YouTube Channel which contains several "How to with Atelier" videos. Stay tuned!