I'm looking for suggestions to improve search results for Flare v3.1 WebHelp. Here's a summary of what I know so far….
How Results are Weighted
KB article for all outputs:
http://kb.madcapsoftware.com/default_csh.htm#OUTA1008F
Search looks to:
- Frequency first
- Topic titles second (Right-click topic > Properties > Topic Properties)
- The first <h#> tag when no title exists
- Topic title (if set) first
- TOC entry text when no title exists
- First <h#> when neither of the other are present
- One topic uses "Classroom" in the <h1> tag
- No titles are set, so after frequency, search looks to <h1>
- Search "classroom" = topic ranked 4th.
- Search "Classroom" = topic ranked 2nd
- With both the 1st result is the topic that contains the most instances of the word "classroom"
Exclude topic from output using conditional tags
(Right-click topic > Properties > Conditional Text)
This is an absolute must-do for hiding draft content.
Note: If an included topic links to an excluded topic, the excluded topic will not appear in search results. Within the included topic, the excluded topic link is converted to text.
Exclude topics from the full-text search database
(Right-click topic > Properties > Topic Properties > Clear Searchable box)
Use search filter sets and concept keywords to create search filters, which help users narrow results.
Search and the TOC
Tagging the TOC entry is not the same as tagging the topic and will not hide a topic from search.
Removing a topic from the TOC(s) does not hide the topic from search.
Clicking the search result for a topic with no TOC entry opens the topic without breadcrumbs (if used)
In the TOC panel, the last viewed topic remains highlighted
Topics will be found by search when all of the following are true:
- Does or does not have a TOC entry and
- Is searchable and
- Has not been excluded from the build using tags
Synonyms will not work in output bearing MOTV
(requires manual update to Synonyms.xml)
http://kb.madcapsoftware.com/default_Le ... =OUTA1008F
Directional Synonyms:
- Relate one term to one term
- Are case sensitive unless the stem box is checked ("find me" will not "Find Me")
- Haven't tested if may contain spaces (e.g., classroom | class room, but based on what I see with grouping, probably not)
- Relate multiple terms to one another
- Are not case sensitive
- Are joined by the equals sign
- May not contain spaces (e.g., class=class room=section)
- May be stemmed
A project uses the word classroom and never uses the word class.
The synonym Groups tab has this entry: class=classroom | stem
- User searches "class" and finds the topics about classrooms. The word "classroom" is not highlighted in the topic body.
- User searches "classroom" with the same results. The word "classroom" is highlighted in the topic body.
In the thread "Concept markers vs. Index markers", MarylynGK states that index markers are read by search.
Nothing in the KB or Help indicates that an index impacts search results (as synonyms do). Are search and index related? My guess is that MarylynGK is correct, but where does the index fit in – does search look to the index first?
How the heck to you delete an index entry?
Question: # of Search Results
Is there a way, perhaps in the MadCapSearch.js, to limit the number of search results to a set number – say the top 15?