Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem

If a query pipeline references a field in “index-text-index-boost” step, then the

...

record pipeline must include that field in the “create-indexes“ step, AND

...

You just created a new collection or a new field, and you notice the following error in the Preview section of the console:

Error in Sajari console:

Your collection’s indexes are not ready.
This might be occurring due to an incorrect pipeline configuration. Read our troubleshooting guide or contact us if you need help resolving this issue.

Error Or, you notice an error in browser console:

indexboosts: field index boost: field 'title': not index

Cause

If a query pipeline references a field in “index-text-index-boost” step, then the

  • record pipeline must include that field in the “create-indexes“ step, AND

  • at least 1 record must be indexed with that field value.

If not, it will return the error mentioned above as both of these conditions are checked before a search request can be sent.

Solution

To resolve,:

  1. Check the record pipeline and make sure “create-indexes“ step includes the field. If not, then add include the field in the “create-indexes” step.

  2. Add the field to “allow-fields“ step as well.

  3. Save the record pipeline and set it to default.

  4. Index a record that contains a value for that field.

    1. For a website collection, trigger a re-index via Diagnose tool.

    2. For an app or store, add a record via the API.

...

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@957
showSpacefalse
sorttitle
typepage
reversetrue
labelscrawler
cqllabel in ( "pipeline" , "indexing" ) and type = "page" and space = "KB"

...