Hi Everyone,
I'm a bit stumped on something that is happening in the search results for the Webhelp output I produce.
For example, I am searching for the word “refundable” (including quotes in search string) under the Search tab. The search results include many pages that do not have the word “refundable” in them. Shouldn’t my search only return pages with that exact string in them? How do I search for an exact string otherwise?
The target settings for Search have the "Include stop-words in search" and "Chunk large search database files (30000 bytes)" options selected. Under Advanced
Any ideas on what I could be missing/incorrectly set in my target?
Any info would be greatly appreciated.
Cheers.
Search Results Returning Irrelevant Topics
Re: Search Results Returning Irrelevant Topics
Maybe you have partial word search enabled? I'm not sure if using quotes would prevent the partial matching, so check the setting and try with and without it enabled.
Re: Search Results Returning Irrelevant Topics
Thanks for the suggestion. Tried with and without, but the same thing keeps happening.Psider wrote:Maybe you have partial word search enabled? I'm not sure if using quotes would prevent the partial matching, so check the setting and try with and without it enabled.
Re: Search Results Returning Irrelevant Topics
Another thought would be any index entries you've defined for the topic? Or a meta description (in the topic properties)? If it's neither of those, then I'm out of ideas, sorry.
-
- Sr. Propeller Head
- Posts: 213
- Joined: Wed Aug 08, 2012 8:38 am
- Location: UK
Re: Search Results Returning Irrelevant Topics
I was also going to suggest checking the Index entries and any meta tags.
Failing that, I don't suppose there is a synonym file set up for the project that is causing this term to appear in the search results...
It would be applied to all targets by default.
Regards,
Feebeegeebee
Failing that, I don't suppose there is a synonym file set up for the project that is causing this term to appear in the search results...
It would be applied to all targets by default.
Regards,
Feebeegeebee
-----------------------------------------------------
Using Flare 2022 on Windows 11 (64-bit)
-----------------------------------------------------
Using Flare 2022 on Windows 11 (64-bit)
-----------------------------------------------------
Re: Search Results Returning Irrelevant Topics
Index entries and meta tags huh. Ok, I'll give it a look and see what happens.
Thanks everyone for the helpful tips.
Thanks everyone for the helpful tips.
-
- Sr. Propeller Head
- Posts: 213
- Joined: Wed Aug 08, 2012 8:38 am
- Location: UK
Re: Search Results Returning Irrelevant Topics
It's actually worth doing the following:
- Edit > Find and Replace in Files
- Enter refundable in the Find field.
- Enable the Find in Source Code option.
- And hit Find All.
-----------------------------------------------------
Using Flare 2022 on Windows 11 (64-bit)
-----------------------------------------------------
Using Flare 2022 on Windows 11 (64-bit)
-----------------------------------------------------
Re: Search Results Returning Irrelevant Topics
Thanks for the tip! That helped me find the word hidden in about 50% of the returned files. It was hiding in the annotations.Feebeegeebee wrote:It's actually worth doing the following:That will tell you if the word is lurking somewhere within the code of any topics or files.
- Edit > Find and Replace in Files
- Enter refundable in the Find field.
- Enable the Find in Source Code option.
- And hit Find All.
But the other results are still a mystery. I'll reach out to the Madcap support team in the meantime.
Thanks again.
Re: Search Results Returning Irrelevant Topics
Just an FYI, reached out to Madcap support team and the response is:
Oh well, until then.The quotation marks do not currently have any special functionality with the MadCap Search feature. What you saw with the search results is the expected output. Flare sees the words refund, refunded, etc. as variants of refundable. Which causes those topics to pop up. If you find it necessary, I can add you to a feature request for the ability to turn off variants in search results (#115172). You will be notified when our development team releases this feature in future versions or patches.