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" <fetanchaud@pch.cerfrance.fr>:

Hi Vladimir,

 

I don’t think there is something like a incremental full text index for the moment [1].

As index is per collection, the recommanded way shall be to split your data in two collections :

-          A big readonly collection of all the past updates, indexed once

-          A small/medium sized collection whom full text index can be recreated in an acceptable time after each update.

At the end of a predefined time period, you have to add the live collection to the readonly one, reindex it, and truncate the live one.

 

Best regards from France,

Fabrice Etanchaud

 

[1] http://docs.basex.org/wiki/Indexes#Updates

 

 

 

 

De : BaseX-Talk [mailto:basex-talk-bounces@mailman.uni-konstanz.de] De la part de ???????? ????????
Envoyé : jeudi 21 juin 2018 16:02
À : BaseX
Objet : [basex-talk] Full-Text

 

Hi, everyone!

 

Is there any way to index only imported xml-files?

Now, when I import xml-files the full-text index is deleted.

After importing I recreate whole full-text index and it takes too much time :(

 

-- 

С уважением,

Ветошкин Владимир Владимирович

 

 
 
-- 
С уважением,
Ветошкин Владимир Владимирович