Word not appearing in suggest API

Hi, I’m puzzled as to why a work that ought to be indexed is not appearing in our suggestions we provide from Suggest API:

The word is ‘genealogy’

We are importing our pages into a web collection by XML file. This particular page that will index the word appears in the XML as:

<?xml version="1.0" encoding="UTF-8"?>
<courses>
<course>
<title>Genealogical Studies</title>
<url>
https://.../courses/genealogicalstudies/
</url>
<overview>Gain a grounding in the theory and practice of genealogival with academics and genealogy professionals... blah blah
</overview>
...

In our xml.cfg file, we have set overview field with a searchable 1 flag:

PADRE XML Mapping Version: 2
t,1,,//title
document,/courses/course
docurl,/courses/course/url
m,1,,//overview
...

The XML import and the suggestions work, but this particular word with the Suggest API has been flagged up as it isn’t showing. If I search for ‘genealogy’ with the Search API, I can see this URL in the results, looks good. The issue is just the Suggest API (e.g. `?partial_query=genea&… ). I’m just curious as to why a word that’s part of searchable content wouldn’t be listed there?

Hi Bizt,

You can control what gets indexed as part of suggestions by using the following:

In particular, it allows you to specify which metadata fields are reviewed to generate the spelling suggestion index (which in turn powers auto complete)

For more detail on controlling spelling suggestions, please see Spelling suggestions - Funnelback Documentation - Version 15.24.0

Hope this helps.

Thanks,

~Gioan

Hi,

Thanks for the response.

I’ve tried the following:

collection.cfg

...
spelling.suggestion_sources=[@,t,m,%] 

Whereas “m” class is our ‘overview’ meta field class which is a single sentence description to summarize one of our courses. This meta field definitely contains the word “genealogy”. I know it’s indexed too as when I search for genealogy I see the page and can see the word within the overview field. However, after updating the collection with the above configuration, I’m still not seeing this word as a suggestion when I type “gene”.

Is there anything I might have missed?