Customizing the List of Words to Ignore in Searches
Customizing the List of Words to Ignore in Searches
When you perform a keyword or advanced search, Metadata Manager ignores special characters and common words. You can use the default list of common words to ignore in a search or you can customize the list.
By default, Metadata Manager ignores the following common words:
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
To customize the list of words and phrases to ignore in a search, update the stopwords.txt file. The stopwords.txt file is located in the following directory:
Open the stopwords.txt file with a text editor and add or remove words and phrases. Enter each word or phrase to ignore on a single line in the file. Entries must be in lowercase characters and cannot contain the apostrophe character (
'
).
After you update the stopwords.txt file, perform the following actions so that Metadata Manager uses the stopwords.txt file instead of the default word list:
Set the UseCustomStopWords property in the imm.properties file to true.
Disable and enable the Metadata Manager Service.
Manually update the search index for all resources.
Although entries in the file must be in lowercase characters, searches are not case sensitive. For example, if you enter the word
for
in the stopwords.txt file, Metadata Manger ignores