1

I'm using Sitecore 9.1 and SXA 1.8, I'm using Solr spell checker feature to fetch suggestions for a SXA search box that I use, the source of the suggestions is the field you specify in the SpellCheckComponent configurations,let's say I specify the Title field,I assign a search scope for the Search box component which get all the News items in my site, the search box suggestions supposed to be from News items only, but this is not the case as the suggestions are from any item that has the field Title.

5
  • I think we'll need a bit more info and details to provide an answer..
    – Gatogordo
    May 10 '20 at 16:25
  • @Gatogordo I edited the question adding more details May 10 '20 at 19:41
  • I think by more details @Gatogordo meant the steps you took to configure the spell checker and all the other steps so that someone could reasonably follow to reproduce your setup. May 10 '20 at 19:49
  • 1
    SpellCheckComponent is related to whole index. I mean that if you index has field=Title not only for News then you will see all these titles. If you need to see only titles for News, you should 1) store only news in index or 2) create custom computed field for spell checker and store only titles for your new (skip the rest of title from indexing in this field).
    – x3mxray
    May 13 '20 at 14:27
  • @x3mxray Thank you so much for your help, it's clear now. May 14 '20 at 5:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.