Deleted Content / Search Results

Post here questions and problems related to editing and publishing DITA content.
jonathanm
Posts: 29
Joined: Tue May 25, 2021 4:17 pm

Deleted Content / Search Results

Post by jonathanm »

Hello,

Deleted words and deleted topics are still displayed in search results.

I tried the following:
1. I deleted outdated HTML files.
2. I tried the clean.output to Yes , but it did not work.
3. I did a DITA MAP and Completeness Check, so that wasn't the issue.

Please advise.
jonathanm
Posts: 29
Joined: Tue May 25, 2021 4:17 pm

Re: Deleted Content / Search Results

Post by jonathanm »

Do some of these search files need to be deleted?
image.png
image.png (70.7 KiB) Viewed 1117 times
marius
Posts: 44
Joined: Thu Mar 05, 2009 11:44 am

Re: Deleted Content / Search Results

Post by marius »

Hi,

The index is created from all html files found in the output folder.
Can you try to run the transformation using a different output folder to see if the problem still persists?
One other thing, if you have in your dita topics references to other topics (not necessarily referenced in the ditamap), the html correspondents for this referenced topics are also generated and are present in your output, thus are also indexed. Maybe your unwanted search results came from these files.
If none of the above solve your issue, we will need a sample to reproduce this on our side.

Regards,
Marius
Marius Ciolacu
Syncro Soft / Oxygen XML
jonathanm
Posts: 29
Joined: Tue May 25, 2021 4:17 pm

Re: Deleted Content / Search Results

Post by jonathanm »

Hi Marius,
I tested different folders for output, but still had problems.
A normal topic on site looks like this:
image.png
image.png (265.63 KiB) Viewed 963 times
When search results show a topic that has been deleted but still appears in search results, the topic will look like this:
image.png
image.png (161.07 KiB) Viewed 963 times
We use SourceTree to upload our files to GIT. Could that be the issue?
Thanks,
Jonathan
marius
Posts: 44
Joined: Thu Mar 05, 2009 11:44 am

Re: Deleted Content / Search Results

Post by marius »

Hi,

Could you please confirm if all available options were enabled when you performed the DITA Map Completeness Check?
Based on the information you've provided, enabling the following options may help in identifying potential issues:
  • Report references to resources outside of the DITA map folder
  • Report links to topics not referenced in DITA maps.
If after enabling all checks there are no issues reported, we kindly ask you to send us a minimal DITA project. This will greatly assist us in reproducing the issue on our side
Furthermore, we have taken into consideration your use of SourceTree and believe it should not cause any issues with the functionality you are experiencing problems with.

Regards,
Marius
Marius Ciolacu
Syncro Soft / Oxygen XML
jonathanm
Posts: 29
Joined: Tue May 25, 2021 4:17 pm

Re: Deleted Content / Search Results

Post by jonathanm »

Hi Marius,
Both options are checked during the completeness check.
The errors I get are duplicate ID and reference errors, which should affect searching.
image.png
image.png (88.1 KiB) Viewed 797 times
How can I send a dita file for you to look at?
jonathanm
Posts: 29
Joined: Tue May 25, 2021 4:17 pm

Re: Deleted Content / Search Results

Post by jonathanm »

** How can I send the dita project?
xephon
Posts: 147
Joined: Mon Nov 24, 2014 1:49 pm
Location: Greven/Germany

Re: Deleted Content / Search Results

Post by xephon »

I had this issue before. You maybe want to delete all the content of the output folder before you publish the webhelp again. Otherwise deleted DITA files remain in the output folder as HTML and are picked up by the search engine. Further on, your DITA Map needs to be stored in a superior directory. It shall not have any topic references with "../" in the href attributes.
stefan-jung.org – Your DITA/DITA-OT XML consultant
ionela
Posts: 405
Joined: Mon Dec 05, 2011 6:08 pm

Re: Deleted Content / Search Results

Post by ionela »

Hello,

If the problem persists, you can send us the sample DITA project for analysis on our technical support form:
https://www.oxygenxml.com/techSupport.html

It would be very helpful if you could minimize the project and create a minimal valid sample DITA project (10-15 topics) where the problem is reproduced. To make sure the sample DITA project is valid please use "Validate and Check for Completeness" action from the DITA Maps menu.
If this action does not report any errors. you use "Export DITA Maps" action from the same menu and send us the exported files.
Also, please include with the sample project the steps to reproduce the issue on our side.

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
Post Reply