[MarkLogic Dev General] element-word-match
andreas.hubmer at ebcont.com
Mon Jul 13 05:46:37 PDT 2015
Thanks for your fast reply.
Unfortunately, xdmp:merge does not make a difference.
In the Administration UI I can see that 1 deleted fragment gets added every
time I run the unit test.
2015-07-13 14:13 GMT+02:00 Geert Josten <Geert.Josten at marklogic.com>:
> Hi Andreas,
> I suspect DOC-A is still among the deleted fragments, and if you run
> certain (unfiltered?) queries as an admin user, you could see results from
> deleted documents. Try running this in between to see if that makes a
> <options xmlns="xdmp:merge">
> From: <general-bounces at developer.marklogic.com> on behalf of Andreas
> Hubmer <andreas.hubmer at ebcont.com>
> Reply-To: MarkLogic Developer Discussion <general at developer.marklogic.com>
> Date: Monday, July 13, 2015 at 2:00 PM
> To: MarkLogic Developer Discussion <general at developer.marklogic.com>
> Subject: [MarkLogic Dev General] element-word-match
> In a unit test (using xray) I insert a document DOC-A and delete it
> afterwards. The administration UI shows afterwards that the database
> contains 0 documents.
> Afterwards (in another unit test) I use cts:element-word-match for
> auto-completion purposes. Now I have the strange issue that
> cts:element-word-match returns values even though my database is empty. The
> values it returns are from DOC-A. To me it seems that the document got
> deleted but its values were not properly removed from the element word
> Even waiting for 10 minutes didn't help.
> As I understand it this should not happen.
> Is there something I miss?
> The reindexer is enabled on the database. Manually calling "merge" on
> the database's only forest doesn't help. Disabling and enabling the forest
> doesn't help either. Only calling "clear" on the forest helps to get rid of
> the wrong lexicon values.
> I can consistently reproduce the problem.
> I am using MarkLogic 8.0-2.
> Best regards,
> Andreas Hubmer
> IT Consultant
> EBCONT enterprise technologies GmbH
> Millennium Tower
> Handelskai 94-96
> A-1200 Vienna
> Email: andreas.hubmer at ebcont.com
> Web: http://www.ebcont.com
> OUR TEAM IS YOUR SUCCESS
> UID-Nr. ATU68135644
> HG St.Pölten - FN 399978 d
> General mailing list
> General at developer.marklogic.com
> Manage your subscription at:
EBCONT enterprise technologies GmbH
Mobile: +43 664 60651861
Fax: +43 2772 512 69-9
Email: andreas.hubmer at ebcont.com
OUR TEAM IS YOUR SUCCESS
HG St.Pölten - FN 399978 d
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the General