Re: [basex-talk] Indexes getting removed after update operation in database
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 On Tue, Jun 2, 2020 at 8:55 PM Christian Grün 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 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 >
Re: [basex-talk] Indexes getting removed after update operation in database
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 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
Re: [basex-talk] Eclipse editor support and authentication
> Re. The security: If you were providing a web site with sensitive information > stored in BaseX, not CC type stuff wherein a token could be used, would you > trust the security inherit in BaseX? Sorry to ask, this just isn't my area > of expertise. What kind of confidential/sensitive information do you want to store in BaseX? Do you want to encode anything that’s stored in a database or only user credentials? You could have a look at our Cryptographic Module [1]. It allows you to partially or fully encode any data before storing it in a database. [1] https://docs.basex.org/wiki/Cryptographic_Module
Re: [basex-talk] RESTXQ - java.lang.OutOfMemoryError: Java heap space
Hm… Yes, maybe the number of inserts is simply too large for single insert operations. Did you count how many new cases will be created? > into doc("US") Are you inserting into a document or a database? In the latter case, you could replace the function call with db:open. The db:copynode option can probably be dropped, as it only affects the construction of new nodes in XQuery (e.g. via "element abc { ... }"). It MAY be a difference if you use a single insert statement (I’m not sure if that matters for your use case): let $nodes := ( for $file in $files return doc($file)/trademark/. ) return insert nodes $nodes into db:open('US')
[basex-talk] Indexes getting removed after update operation in database
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