Fork me on GitHub
#datomic
<
2016-06-15
>
bostonaholic17:06:18

is it reasonable to call (.release connection) in a Database record in the stop function for a stuartsierra/component?

Lambda/Sierra17:06:35

@bostonaholic: You can, but it's usually not necessary.

bostonaholic17:06:09

Thanks. I wasn’t sure since the docs for .release is a bit unclear

bostonaholic17:06:39

is there any reason I would or woudn’t use .release?

Lambda/Sierra18:06:54

If you're going to acquire another connection to the same database, in the same process, you should not call release.

Lambda/Sierra18:06:09

If a long-running process had to connect to multiple different Datomic databases for different periods of time, you might want to release the one you are no longer using.

bostonaholic18:06:45

perfect. thank you!

lellis18:06:47

Hello! Any tip on how to implement Accent Insentitive query?

marshall19:06:45

@lellis: are you wanting that behavior in a fulltext query? If so, the fulltext dictionary and configuration are not currently configurable.

marshall20:06:05

If that is the case, I will note your interest for that feature.

lellis20:06:41

Yes @marshall. In a fulltext search. Ty!