Vous êtes sur la page 1sur 8

Relevanssi Search Options

Dashboard

Home
Updates

Basic options | Weights | Logs | Exclusions and restrictions | Custom


excerpts | Highlighting search results | Indexing options | Synonyms |
Stopwords | Buy Relevanssi Premium

User searches

Quick tools

Jetpack

Posts

All Posts

Media

Links

Pages

Comments

Add New
Use 'Build the index' to build the index with current indexing options. If
Categories
you can't finish indexing with one go, use 'Continue indexing' to finish
the job. You can change the number of documents to add until you find
Tags
the largest amount you can add with one go. See 'State of the Index'
below to find out how many documents actually go into the index.

Save options

500

Build the index

Continue indexing , add

documents.

Buy Relevanssi Premium!

Do you want more features? Supp


Relevanssi development? Get a be
search experience for your users?

Go Premium! Buy Relevanssi


Premium. See feature comparison
license prices.
Buy Premium now

14

State of the Index

Boxzilla

Documents in the index: 519


Terms
the index:Build
90814
Save in
options
the index
Highest post ID indexed: 13793

Contact

Genesis

Appearance

Plugins

Users

Tools

Settings

Basic options

General
Writing

Use search for admin:

If checked, Relevanssi will be used for searches in

the admin interface

Default operator for the search?

OR - any term present is enough


search.

Sample Premium features

Disable OR fallback:
If you don't want Relevanssi to fall back to OR search when AND search gets no
hits, check this option. For most cases, leave this one unchecked.

Default order for results:

Media

If you want date-based results, see the recent post bonus in the Weights section.

Permalinks

When to use fuzzy matching?

Print Friendly & PDF

Relevance (highly recommended)

When straight search gets no hits


Straight search matches just the term. Fuzzy search matches everything that
begins or ends with the search term.

Relevanssi

Limit searches:

SB RSS feed +

If this option is checked, Relevanssi will limit search results to at most 500 results

Simple Share Buttons


Thumbnail Grid

Subscribe to our mailing list to ge


updates on Relevanssi developme
As a thank you for subscribing, yo
get a 20% discount for Relevanss
Premium.

If you choose AND and the search finds no matches, it will automatically do an OR

Discussion

Pin It Button

Email Address

Subscribe

Reading

Auto Post Thumbnail

Subscribe to our mailing list

per term. This will improve performance, but may cause some relevant documents
to go unfound. However, Relevanssi tries to prioritize the most relevant
documents. This does not work well when sorting results by date. The throttle

Subscribe
With
Relevanssi Premium, you wo
have more options:

- Internal link anchors are search


terms for the target posts, if you w
- Hiding Relevanssi branding from
User Searches page on a client
installation
- Adjust weights separately for ea
post type and taxonomy
- Give extra weight to recent post
- Make Relevanssi understand
thousand separators to handle big
numbers better
- Index and search any columns in
wp_posts database

Settings
WP Geo
WP Super Cache

can end up cutting off recent posts to favour more relevant posts.

Limit: 500
For better performance, adjust the limit to a smaller number. Adjusting the limit to

YARPP

100 or 200 should be safe for good results, and might bring a boost in search

Sharing

speed. DO NOT use this feature to limit the number of search results on search

- Index and search user profile pa


- Index and search taxonomy term
pages
- Import and export options
- And more!

results pages, as that will lead to problems. For adjusting the number of search
results displayed, see this knowledge base entry.

SEO

MailChimp for WP

Weights

BPS Security

These values affect the weights of the documents. These are all
multipliers, so 1 means no change in weight, less than 1 means less
weight, and more than 1 means more weight. Setting something to zero
makes that worthless. For example, if title weight is more than 1, words
in titles are more significant than words elsewhere. If title weight is 0,
words in titles won't make any difference to the search results.

Instagram Feed
Gallery
WP-Optimize

Relevanssi on Facebook

Help and support

EasyRecipe Plus

Element

BackWPup

Post titles

Collapse menu

Check out the Relevanssi


page on Facebook for new
and updates about your
favourite plugin.

Weight

Default weight
For Relevanssi support, see:

Comment text

0.75

0.75

Tag weight:

0.75

Category weight:

0.75

Logs
Keep a log of user queries:

If checked, Relevanssi will log user queries.

The log appears in 'User searches' on the Dashboard admin menu.

Log the user's IP with the queries:

If checked, Relevanssi will log user's

IP-Adress with the queries.

Don't log queries from these users:


Comma-separated list of numeric user IDs or user login names that will not be
logged.

If you enable logs, you can see what your users are searching for. Logs
are also needed to use the 'Did you mean?' feature. You can prevent
your own searches from getting in the logs with the omit feature.

Exclusions and restrictions


Restrict search to these categories and tags:

0
Enter a comma-separated list of category and tag IDs to restrict search to those
categories or tags. You can also use <input type='hidden' name='cats'

- WordPress.org forum
- Knowledge base

value='list of cats and tags' /> in your search form. The input field
will overrun this setting.

Exclude these categories from search: 0


Enter a comma-separated list of category IDs that are excluded from search
results.

Exclude these tags from search: 0


Enter a comma-separated list of tag IDs that are excluded from search results.

Exclude these posts/pages from search:


Enter a comma-separated list of post/page IDs that are excluded from search
results. This only works here, you can't use the input field option (WordPress
doesn't pass custom parameters there).

Respect exclude_from_search for custom post types:

If checked, Relevanssi won't display posts of custom post types that have
'exclude_from_search' set to true. If not checked, Relevanssi will display anything
that is indexed.

Custom excerpts/snippets
Create custom search result snippets:

If checked, Relevanssi will create excerpts that contain the search term hits. To
make them work, make sure your search result template uses the_excerpt() to
display post excerpts.

Note: Building custom excerpts can be slow. If you are not actually
using the excerpts, make sure you disable the option.
Length of the snippet: 30

words

This must be an integer.

Allowable tags in excerpts:


List all tags you want to allow in excerpts, without any whitespace. For example:
'<p><a><strong>'.

Show breakdown of search hits in excerpts:

Check this to show more

information on where the search hits were made. Requires custom snippets to
work.

Use
%body%,
The breakdown format: (Search hits: %body% in body,
%title%
in title, %categories% in categories, %tag
%title%, %tags% and %comments% to display the number of hits (in different parts
of the post), %total% for total hits, %score% to display the document weight and
%terms% to show how many hits each search term got. No double quotes (")
allowed!

Search hit highlighting


First, choose the type of highlighting used:
Highlight query terms in search results:

<strong>

Highlighting isn't available unless you use custom snippets

Highlight query terms in result titles too:


Highlight query terms in documents from local searches:
Highlights hits when user opens the post from search results. This is based
on HTTP referrer, so if that's blocked, there'll be no highlights.
Highlights hits in comments

Highlight query terms in comments:


when user opens the post from search results.

Uncheck this if you use non-ASCII characters:

If you use non-

ASCII characters (like Cyrillic alphabet) and the highlights don't work,
uncheck this option to make highlights work.

Then adjust the settings for your chosen type:


Text color for highlights: #ff0000

Use HTML color codes (#rgb or

#rrggbb)

Background color for highlights: #ffaf75

Use HTML color codes

(#rgb or #rrggbb)

CSS style for highlights:


You can use any CSS
text-decoration: underline; text-color: #ff0000
styling here, style will be inserted with a <span>
Name a class here, search
CSS class for highlights: relevanssi-query-term
results will be wrapped in a <span> with the class

Save the options

Indexing options
Choose post types to index:

Type

Index

Public?

post

yes

page

yes

attachment
Save the options

yes

wpcf7_contact_form

no

ngg_album

no

ngg_gallery

no

ngg_pictures

no

lightbox_library

no

mc4wp-form

no

boxzilla-box

no

safecss

no

displayed_gallery

no

display_type

no

gal_display_source

no

Choose taxonomies to index:

Taxonomy

Index

Public?

category

yes

post_tag

yes

post_format

yes

ngg_tag

yes

course

yes

cuisine

yes

If you check a taxonomy here, the terms for that taxonomy are indexed
with the posts. If you for example choose "post_tag", searching for
tags will find all posts that have the tag.
Minimum word length to index:

3
Words shorter than this number will not be indexed.

Expand shortcodes in post content:

If checked, Relevanssi will expand shortcodes in post content before indexing.


Otherwise shortcodes will be stripped. If you use shortcodes to include dynamic
content, Relevanssi will not keep the index updated, the index will reflect the
status of the shortcode content at the moment of indexing.

Index and search your posts' authors:


If checked, Relevanssi will also index and search the authors of your posts. Author
display name will be indexed. Remember to rebuild the index if you change this
option!

Index and search post excerpts:


If checked, Relevanssi will also index and search the excerpts of your
posts.Remember to rebuild the index if you change this option!

Index and search these comments:

none

Relevanssi will index and search ALL (all comments including track- & pingbacks
and custom comment types), NONE (no comments) or NORMAL (manually posted
comments on your blog).
Remember to rebuild the index if you change this option!

Custom fields to index:


A comma-separated list of custom fields to include in the index. Set to 'visible' to

index all visible custom fields and to 'all' to index all custom fields, also those
starting with a '_' character.

Save indexing options, erase index and rebuild the index


Continue indexing

Synonyms

Save indexing options, erase index and rebuild the index

Add synonyms here in 'key = value' format. When searching with the OR operator,
any search of 'key' will be expanded to include 'value' as well. Using phrases is
possible. The key-value pairs work in one direction only, but you can of course
repeat the same pair reversed.

Save the options

Stopwords
Enter a word here to add it to the list of stopwords. The word will
automatically be removed from the index, so re-indexing is not
necessary. You can enter many words at the same time, separate
words with commas.
Stopword(s) to add:

Add
Here's a list of stopwords in the database. Click a word to remove it
from stopwords. Removing stopwords won't automatically return them
to index, so you need to re-index all posts after removing stopwords to
get those words back to index.
a

about

above

almost

alone

among

amongst

anyhow

anyone

at

back

been
can

cannot

amoungst
became

co

an

bill
con

being
both

could

bottom

done

down

due

eleven

else

elsewhere

during
empty

any

around

becomes
below

all

am

another
are

couldnt

do

against

always

and

anywhere
become

behind

again

although

amount

because

beyond

cant

afterwards
also

anyway

beforehand

detail

either

after

already

anything

between

describe
eight

be

before

besides

across

along

as

becoming

beside
but

cry

by

call

de
each

eg

enough

etc

even

ever

every

few

fifteen

fifty

formerly
give

forty

go
how

into

is

ltd

made

its

name

nobody

of

off

otherwise
perhaps
seeming
since

neither

never

toward

whence

the

thereafter

very

twelve
via

would

whole
yet

thereby

this

thus

to

we
where

wherever
whom
your

show

un

well

were

whether

such

yours

thereupon

though
too

three
top

under

until

what

will

yourself

up

whatever

whereas

which
why

system

then

therein

whereafter

whose

side

someone

still

together

two

per
seemed

themselves

those

others

part

should

therefore

third

other

somehow

them

nine

nowhere

seem

somewhere

their

was

you

she

mine
next

own
see

less

my

now
or

over

same

some

twenty

whenever

whereupon

whoever

without

so

sometimes

that

thru

us

out

several

sixty

throughout

upon
wherein

onto

thin

when
who

only

re

mill

nevertheless

one

interest

least

must

once

thickv

towards

might
much

nothing

rather

himself

indeed

not

ourselves

here
him

latterly

nor

serious

than

inc

noone

put

sometime

through

in

get

her

herself

latter

namely

six

there

if
last

former

further

hence

move

ours

they

ie

keep

except

for

full

hers

meanwhile

something

these

he

me

take
thence

have

hereupon

mostly

our

ten

hasnt

may

on

seems

five

first

most

often

sincere

fire

front

hundred

none

please

everywhere

from

itself

many

moreover

no

find

everything

four

herein

however
it

myself

has

hereby

his

more

fill

found

had

hereafter

everyone

while

whereby
whither

with

within

yourselves

Remove all stopwords


Here's a list of stopwords you can use to export the stopwords to
another blog.

a, about, above, across, after, afterwards, again,


against, all, almost, alone, along, already, also, although,
always, am, among, amongst, amoungst, amount, an,

25 most common words in the


index
These words are excellent stopword material.
A word that appears in most of the posts in
the database is quite pointless when
searching. This is also an easy way to create
a completely new stopword list, if one isn't
available in your language. Click the icon
after the word to add the word to the
stopword list. The word will also be removed
from the index, so rebuilding the index is not
necessary.
ingredients (368)
add (356)

minutes (356)
salt (342)
oil (331)
cup (329)
olive (322)
pepper (319)
serve (316)
heat (314)
medium (305)
large (300)
directions (291)
italian (283)
just (282)
little (281)
place (280)
fresh (274)
cook (262)
taste (262)
recipe (252)
make (252)
extra (247)
water (245)
remove (245)

Thank you for creating with WordPress.

Version 4.6.1

Vous aimerez peut-être aussi