Indexes getting removed after update operation in database

Tuesday, 2 June 2020 · 3 messages
DS
DK Singh2 Jun 2020 16:54 #

Hi,

I am using Basex version 8.6.6 i am creating full text indexes on database from the GUI, when any update operation is happening on the database all created indexes getting removed.

when i use ft module to search anything then error occurs that database "test" has not full text index.

I am expecting if index already created then it should not removed, please suggest how can i resolve this issue.

Regards

Dharmendra Kumar Singh

CG
Christian Grün2 Jun 2020 17:25 #

Hi Dharmendra,

Please check out our documentation [1]; it will give you more insight into how indexes are handled in BaseX.

Best, Christian

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

Quoted text · DK Singh · 14 lines
On Tue, Jun 2, 2020 at 4:55 PM DK Singh <dharam.mahi at gmail.com> wrote: > > Hi, > > I am using Basex version 8.6.6 i am creating full text indexes on database from the GUI, when any update operation is happening on the database all created indexes getting removed. > > when i use ft module to search anything then error occurs that database "test" has not full text index. > > I am expecting if index already created then it should not removed, please suggest how can i resolve this issue. > > > Regards > > Dharmendra Kumar Singh
DS
DK Singh2 Jun 2020 17:45 #

Thanks Christian for you quick response

As i understood after from the index documentation after each update db:optimize function should be called to rebuild the index structure. so i will implement that

If i set AUTOOPTIMIZE and UPDINDEX true in local option ".basex " file so it should work ?

Regards Dharmendra Kumar Singh

Quoted text · Christian Grün · 33 lines
On Tue, Jun 2, 2020 at 8:55 PM Christian Grün <christian.gruen at gmail.com> wrote: > Hi Dharmendra, > > Please check out our documentation [1]; it will give you more insight > into how indexes are handled in BaseX. > > Best, > Christian > > [1] https://docs.basex.org/wiki/Indexes#Updates > > > > On Tue, Jun 2, 2020 at 4:55 PM DK Singh <dharam.mahi at gmail.com> wrote: > > > > Hi, > > > > I am using Basex version 8.6.6 i am creating full text indexes on > database from the GUI, when any update operation is happening on the > database all created indexes getting removed. > > > > when i use ft module to search anything then error occurs that database > "test" has not full text index. > > > > I am expecting if index already created then it should not removed, > please suggest how can i resolve this issue. > > > > > > Regards > > > > Dharmendra Kumar Singh >

⚡Generated with XQuery