Apache OpenOffice (AOO) Bugzilla – Issue 56339
Inconsistent indexing results
Last modified: 2013-08-07 14:38:26 UTC
I've been working on an OOo users guide index that uses a concordance file. I am making the entries into the concordance file directly into the SDI file, not through the wizard. I save the changes in the SDI file and update the index in the document. I realized that after I made some changes that should have eliminated some items flagged for the index, those items were still showing up in the index. I even tried deleting the index from the document, but when I added the index back, the extra items were still listed. Apparently, the items are not getting unflagged or unmarked in the document. In other words, once marked, they stay marked. (I assume I could manually unmark them, but there are too many). I have now added an index using a concordance file (Test.sdi) with two items, only one of which is found in the document. Still the index shows dozens of listings. I downloaded another copy of the users guide and created an index using concordance_file.sdi. The results looked good. I deleted the index and all words in the document were unflagged. I then created an index using Test.sdi and got a single listing as expected. So now I have two identical documents behaving very differently when indexes are inserted and changed. All work has been done using OOo 2.0 on a Windows 2000 machine. I have a zip file that includes: the problem document – user_guide_draft_bad.odt the good document – user_guide_draft_good.odt the correct concordance file – concordance_file.sdi the small test concordance file – test.sdi.
Created attachment 30682 [details] Zip file with two odt files and two sdi files
Reassigned to ES.
ES->FL: this is a design problem. When modifying/using a new concordance file, the modifications (new entries) are added to the index but not the deleted ones. We should have a mechanism allowing to: 1) sync 2 different cocordance files 2) rebuilding an index using the new file ONLY (deleting all previous entries in the doc)
"mdawley" said: "In other words, once marked, they stay marked." This design problem... is a opportunity! Please, see my commentary on the issue 61778 An option to export/sync the concordance file could be a solution to the issue 20599.