Re: [basex-talk] doc path in basex

2018-06-25 Thread Bridger Dyson-Smith
Hi Martin, On Fri, Jun 22, 2018 at 5:35 PM Martin Lourduswamy wrote: > Hi, > I used > > db:node-pre(db:text("db", "ae4b577bd9f578556cd")//../..) > > delete node db:open-pre("db",333) > > to immensely speed the basex access. Thanks for helping me with how to get > a db:node form basex. > > I have

Re: [basex-talk] Full-Text

2018-06-25 Thread Ветошкин Владимир
Alexander, thank you! I'll come back to this task later. 25.06.2018, 13:07, "Alexander Shpack" :Hi, Vladimir, If you will do db names with the particular prefix, for example "db_", you may use the next codelet $docs := for $i in db:list()[starts-with(.,"db_")] return db:open($i)return $docs/* On Mo

Re: [basex-talk] Full-Text

2018-06-25 Thread Alexander Shpack
Hi, Vladimir, If you will do db names with the particular prefix, for example "db_", you may use the next code let $docs := for $i in db:list()[starts-with(.,"db_")] return db:open($i) return $docs/* On Mon, Jun 25, 2018 at 12:32 PM Ветошкин Владимир wrote: > Hi, Alexander, > > Some question

Re: [basex-talk] Full-Text

2018-06-25 Thread Ветошкин Владимир
Hi, Alexander, Some questions:After that, how can I perform a search in all of these databases?Can I search for substring without fulltext using only text index? 25.06.2018, 11:56, "Alexander Shpack" :Hey Vladimir, You can use sharding approach for you data import and split all DBs even every month

Re: [basex-talk] Full-Text

2018-06-25 Thread Alexander Shpack
Hey Vladimir, You can use sharding approach for you data import and split all DBs even every month. On Mon, Jun 25, 2018 at 11:50 AM Ветошкин Владимир wrote: > Hi, Alexander! > Thank you! > > In my previous letter I have described the proccess in short. > I'll think about separated DB. But I'

Re: [basex-talk] Full-Text

2018-06-25 Thread Ветошкин Владимир
Hi, Alexander!Thank you! In my previous letter I have described the proccess in short.I'll think about separated DB. But I'm afraid that this base will also be very big in future.Although I can try to split data to several databases - one per year.. Hmm.. 25.06.2018, 11:25, "Alexander Shpack" :Hey,

Re: [basex-talk] Full-Text

2018-06-25 Thread Ветошкин Владимир
Hi, Fabrice, I have several databases.Each time I fill them with some xml-files. Some of these files contain container (esadout tag) with needed data. I have to index the actual (last) container.Each base contains many documents (with its own ID) and I have to index actual container of each documen

Re: [basex-talk] Full-Text

2018-06-25 Thread Alexander Shpack
Hey, Vladimir! Just put this specific files to the separated DB and than index it. You can process it automatically, BaseX allows to create and index DB right from XQuery. I hope it helps you. Anyhow, you can provide more details about your task and we can figure out the best solution for you.

Re: [basex-talk] Full-Text

2018-06-25 Thread Fabrice ETANCHAUD
Hi Vladimir, So what about storing those specific files in an ad-hoc collection, and only index that one ? Is there a partition pattern you could use to split these specific files in several collections of medium size ? If you do not need fulltext capabilities, you can use incremental text() or

Re: [basex-talk] Full-Text

2018-06-25 Thread Ветошкин Владимир
Hi, Fabrice!Thank you. All databases constantly change.That is why there is no way to single out "a big readonly collection" :(Maybe it is possible to use some other incremental indexes?I have to index specific xml-files, not all files in database. 21.06.2018, 17:16, "Fabrice ETANCHAUD" :Hi Vladimi