Page 1 of 1

Deleted Content / Search Results

Posted: Thu Feb 22, 2024 4:55 am
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.

Re: Deleted Content / Search Results

Posted: Thu Feb 22, 2024 5:21 am
by jonathanm
Do some of these search files need to be deleted?
image.png

Re: Deleted Content / Search Results

Posted: Thu Feb 22, 2024 12:44 pm
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

Re: Deleted Content / Search Results

Posted: Thu Mar 21, 2024 4:18 am
by jonathanm
Hi Marius,
I tested different folders for output, but still had problems.
A normal topic on site looks like this:
image.png
When search results show a topic that has been deleted but still appears in search results, the topic will look like this:
image.png
We use SourceTree to upload our files to GIT. Could that be the issue?
Thanks,
Jonathan

Re: Deleted Content / Search Results

Posted: Thu Mar 21, 2024 3:52 pm
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

Re: Deleted Content / Search Results

Posted: Tue Apr 09, 2024 3:56 am
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
How can I send a dita file for you to look at?

Re: Deleted Content / Search Results

Posted: Tue Apr 09, 2024 3:57 am
by jonathanm
** How can I send the dita project?

Re: Deleted Content / Search Results

Posted: Tue Apr 09, 2024 7:25 am
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.

Re: Deleted Content / Search Results

Posted: Tue Apr 09, 2024 12:49 pm
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