Stop Words

Stop words are common words that are often ignored in search queries due to not carrying much meaning, such as "the" or "and." Excluding these words from the query allows you to focus on the most significant terms and return more accurate results for the customer.

View and Update Stop Words

Currently, you can only access stop words via the Search Schema API:

Provide the language code of the site, such as "en" for English, and the stop words dictionary for that specific language will be updated. The request body should be a text file with one word per line, not JSON such as a string array. For example:

a
an
best
amazing
cheap

API Response

The response from the GET API will be a text file of all stop words, which should include the default list of stop words plus the ones you've added. The default Solr stop words are:

a
an
and
are
as
at
be
but
by
for
if
in
into
is
it
no
not
of
on
or
such
that
the
their
then
there
these
they
this
to
was
will
with