►
From YouTube: Solr, Lando, and Backdrop - Backdrop LIVE (July 2022)
Description
Justin Keiser shares his experience with setting up the Apache Solr search application with Backdrop CMS. This was a recording from Backdrop LIVE, July 15, 2022. He uses Lando, a local development environment based on docker, to run both Solr and Backdrop locally so that he can develop his site search functionality.
A
All
right
welcome
all
this
is
one
of
those
topics
that
I
was.
I
was
curious
whether
it
would
be
all
right
to
do
it's
one
of
those
quests.
One
of
the
subjects
where
you
people
ask,
can
backdrop
do
this.
Well,
of
course
it
can
because
drupal
could
do
it
so
setting
up
solar
locally
with
backdrop
and
orlando,
I'm
justin
kaiser,
I'm
officially
a
drupal
web
programmer
at
for
the
academy
of
model
aeronautics
in
muncie
indiana,
I'm
kaiser
jb
all
over
the
internet.
A
A
Why
solar,
since
I
first
started
going
to
dribble
camps,
I
heard
the
word
solar
and
I
had
absolutely
no
idea
what
it
was,
but
everybody
talked
about
using
it.
A
A
It's
quite
wonderful,
but
I
only
do
that
locally,
because
I
don't
mess
with
the
live
site
with
the
member
directory
and
a
million
records
I'm
also
interested
in
it,
because
on
that
drupal
site
we
have
a
google
custom
search
application
that
searches
all
of
our
websites
and
returns
results
some
of
the
websites
it
searches.
We
don't
have
any
more
and
not
all
of
the
websites
we
actually
have
are
in
the
custom
search,
and
I
want
to
eventually
replace
this.
A
A
But
I
also
need
this.
If
I
do
this,
I
needed
to
work
with
backdrop
and
wordpress
too,
and
also
I'm.
I
was
a
librarian
before
I
became
a
full-time
web
developer,
so
I
have
a
master's
degree
in
library
and
information
science,
so
organizing
information
and
then
searching
for
it
is
kind
of
something
that
I'm
into
so
working
with
solar
search,
kind
of
fits
that
little
need.
A
So
in
order
to
make
this
work,
you
of
course
need
lando
rental
backdrop,
site
locally,
newnen's
jpi
module
in
the
solar
search
module
optionally.
You
can
use
the
facet
api
module
and
there
is
another
search,
api
module
that
I
discovered
in
drupal
called
search
api
attachments
that
I
kind
of
ported
it.
A
A
A
And
I
effectively
did
the
same
thing
for
backdrop,
so
a
very
simple
lando
file
under
services.
You
just
add
a
service
for
search
and
say
solar
7.
You
name
your
core,
that's
important,
because
you
have
to
put
in
the
configuration
in
the
in
the
ui
of
the
site
and
as
long
as
my
solar
configuration
is
actually
in
modules,
slash
search,
underscore
api,
underscore
solar,
solar,
hyphen
conf,
it
works.
A
A
The
solar
host
is
what
you
called
the
server
this
the
search
service
under
services.
So
if
I
called
search
like
backdrop,
my
solar
host
would
be
backdrop.
A
A
A
I
was
trying
to
get
the
server
to
load
on
the
site,
so
I
can
show
this
first
so
where
it
says
the
connection
the
server
solar
server
could
be
reached.
I
struggled
a
few
times
getting
that
configuration
correctly,
so
it
actually
said
it
could
be
reached,
but
once
I
once
I
figured
out
what
to
put
in
there
solar
backdrop,
then
it
was
all
good
now
when
you're
configuring
the
search
index
under
the
data
source
options
and
the
bundles,
you
can
only
configure
that
here.
You
can't
change
it
afterwards.
A
C
Can
you,
instead
of
indexing
the
field
values?
Can
you
index
the
rendered
content
like
what
you
see
on
the
page
instead.
A
A
Oh,
I
need
this
check,
unpublished,
notes,
that's
what
I
was
going
to
you:
don't
want
to
search
to
index,
unpublished,
content
or
have
folks
be
able
to
access
things
through
search
that
they
couldn't
normally
see.
That's
what
the
node
access
one
is
for.
A
A
So
I'm
adding
title
that
I
indexed
the
search
excerpt
that
the
that
was
created
by
checking
highlighter
highlighting
box
and
then
I'm
creating
a
full
text
search
box
and
I
decided
to
limit
my
results
in
the
view
to
only
my
article
content
type
rather
than
change
what
was
indexed
or
what
was
set
up
on
the
server.
A
C
Ask
how
did
you
get
the
the
tag
list
in
the
sidebar
like
that
exposed.
A
I
I
discovered
that
there
was
actually
a
bug
in
core
for
the
taxonomy
module
where
you
weren't,
that
was
failing
when
I
was
trying
to
add
the
taxonomy
terms
with
the
views
bulk
operations.
What
it
was
doing
was
I'd
have
a
list
of
50
articles
and
I
wanted
to
add
the
same
taxonomy
term
to
all
50
articles.
A
Well,
instead
of
creating
the
taxonomy
term
once
it
would
create
it
50
times
in
in
the
in
the
structure,
taxonomy
tags,
so
it
was
awful.
I
ended
up
deleting
all
of
them
and
starting
over,
I
thought
the
first
comment
in
the
issue:
queue
about
the
bug
10
years
ago
on
drupal.org
was
fascinating.
Like
I'm,
going
to
put
everything
now,
wow,
that's
just
stupid.
A
A
A
A
A
A
A
C
So
conceptually
there
before,
you
can
add
a
facet
on
something
you
need
to
make
sure
that
you're
indexing
it
first.
Yes,.
C
A
C
Have
you
noticed
any
difference
in
indexing
speed
on
the
drupal
9
site
versus
the
backdrop
site?
I
mean
it
sounds
like
they're
different
scales,
so
it
might
be
hard.
A
C
Oh,
while
we're
waiting,
I
also
had
another
question:
what's
the
the
reason
for
like
six
solar
cores?
Is
that
purely
like
a
scaling
thing
or.
A
A
They
all
do
different
things.
So
there's
one
for
there's
one
for
indexing,
the
member
directory
and
there's
one
for
indexing
all
of
the
clubs
and
then
there's
one
for
indexing.
The
events
and
there's
another
one
for
site,
search
that
doesn't
really
get
used
and
there's
another
one
for
indexing
hobby
shops
that
we
don't
really
use
anymore.
So
it's
probably
down
to
like
four.
C
A
A
A
C
Just
as
a
as
a
guess-
and
I
have
no
idea
if
this
is
accurate,
but
it
might
have
something
to
do
with
the
stemmer
plug-in
that
it's
removing
the
er
from
helicopter.
You
know
because
that
it's
like
going
to
the
base
of
the
word,
and
so
it's
like,
so
it's
not
actually
truncating
the
word.
It's
stemming
it.
I
don't
know.
I
guess.
D
A
But
that
is
it:
let's
turn
this
on
wait
for
that
to
turn
on,
because
in
this
in
this
drop
down,
where
you're
searching
full
text,
there
is
actually
a
in
the
d9
version.
There's
like
a
full
text
stemmed
selection,
but
that's
not
here.
C
This
tags
name
that
you've
got
here.
The
type
is
full
text.
Maybe
that
should
be
string
instead,
so
that
it's
the
whole
thing.
A
It's
not,
I
was
almost
through
the
slides
anyway,
while
we
re-index
it
yeah,
there's
we
we
talked
about
this.
A
A
But
this
is,
this
is
all
still
real
new
to
me,
because
I
don't
know
how
any
of
this
stuff
works.
I've
been
clicking
around
a
lot
and
trying
a
lot
of
things
when
I
was
first
faced
with
the
drupal
site
that
had
solar,
I
looked
at
the
views
that
were
displaying
the
solar
and
they
all
said
this
content
data
source
under
the
fields
that
we're
displaying,
and
I
had
no
idea
what
that
meant,
and
I
was
very
confused
until
I
got
it
running
locally
and
then
it
started
to
make
sense
to
me.
A
Okay
search
api
attachments,
so
I
ran
this
recorder
upgrade
I
put
it
in
this,
put
it
in
my
modules
folder.
I
turned
it
on
and
I
had
the
settings
menu,
which
is
awesome,
didn't
error
when
I
turned
it
on
so
I
had
found
more
instructions
online
about
how
to
in
how
to
search
pdfs
in
drupal
with
apache
tikka,
no
idea
what
apache
tikka
was,
but
it
pointed
me
toward
search
api
attachments.
A
A
A
And
it
does
I've
got
a
full.
I've
got
a
full
pdf
of
a
magazine
in
here,
so
I
can
search
for
corsair,
which
is
oral,
rotate
fighter
plane,
and
it
brings
up
the
april
2020
issue
of
model
aviation.
Now,
what
that
doesn't
do,
which
would
be
the
cooler
user
experience?
Is
it
doesn't
go
to
that
part
of
the
pdf?
That
actually
has
that
word
in
it.
A
I
actually
had
gotten
it
to
do
the
excerpt.
I
don't
know
what
happened
to
it
or
maybe
I
only
had
gotten
that
to
work
in
drupal
9.,
don't
remember
now,
but
I
have
seen
it
work.
C
A
A
I
I
have
gotten
the
t
go
to
work
in
drupal,
it's
kind
of
a
complicated
process
to
get
it
in
the
in
the
lando
file
it
to
run
it
up
locally.
They
found
instructions
on
this
too,
and
the
window
instructions
definitely
did
not
work,
and
I
spent
like
an
afternoon
screwing
with
it
trying
to
find
what
to
actually
do
so.
It
goes
under
app
server
as
extras
in
the
lando
file,
and
this
is
going
to
download
a
bunch
of
stuff
and
it
it
it
installs
tikka.
A
C
C
C
I
I'm
also
just
really
surprised.
I
first
of
all
I
didn't
even
know
search
api
was
ported
for
backdrop.
So
that's
great,
and
on
top
of
that,
I'm
impressed
surprised
that
search
api
attachments
which
hadn't
been
ported.
You
ran
through
coder
upgrade
and
that's
it
like.
It
worked
after
that.
A
That's
that
coder
upgrade
that
it's
the
only
kind
of
ports
that
I
do
so
you
know
if
it
doesn't,
it
doesn't
mostly
work
after
I
do
that.
I'm
like
I,
don't
know
what
to
do
now.
A
E
I'm
definitely
going
to
test
it
in
staging.
You
know
it's
the
the
search,
that's
in
core.
I
keep
running
up
against
some
issues
with
it
with
users
and
of
course
you
know
for
those
of
us
that
are
on
our
side
of
the
equation.
It's
easy!
Well,
why
don't
you
do
this,
but
you
know
when
you're
dealing
with
anonymous
users,
you
can't
control
what
they
do
and
and
I've
been
trying
to
really
find
a
way
to
have
like
these
fuzzy
google-like
searches
that
they
can
just
do
and
come
up
with
at
least
some
results.
E
They
give
them
something
that
they
would
expect
back
and-
and
this
definitely
looks
like
a
move
forward,
so
I
mean
I
appreciate
all
the
time
you
put
into
this
and
you
know
definitely
I'm
like
all
right.
I
see
a
way
forward
for
you
know
what
I
need
to
do.
You
know
that's
going
to
solve
some
problems
and
obviously,
like
you
said
you
know
not
something
you
want
to
necessarily
throw
into
a
production
site,
but
it
doesn't
seem
like
it's
that
far
off.
To
be
quite
honest,.
A
C
Yeah,
just
generally
like
I,
I
speaking
to
what
brian
just
said,
I'd
love
it.
If
you
know
the
core
search
did
work
better
yeah.
I
feel,
like
it's
been
highly
neglected
for
decades,
almost
to
like
the
core
search
hasn't
changed
in
backdrop
or
drupal
in
a
very
long
time,
and
I
like
it
would
be
nice
if
it
just
worked
better
like
the
con,
the
concept
of
it
like
how
it
creates
a
search
index
and
the
index
you
know,
makes
separate
tables
and
then
it
that
the
indexing
all
works.
C
Fine,
but
like
just
the
actual
interface
for
showing
results
and
everything
like
that
is
all
not
not
good,
and
I
don't
like
how
it
segments
users
versus
nodes
like
it,
separates
them
by
entity
type
like
lots
of
silly
things
in
the
way
that
it's
done,
but
there's
always
going
to
be
a
place
for
search
api,
even
if
core
search
gets
better
because
things
like
this
pdf
search
like
core
would
never
do
that.
So
this
is
it's
pretty
incredible
to
see
it's
all.
Working
together.
C
Yeah,
I
guess
what
I'm
saying
is
that
it
would
be
nice
if
you
didn't
have
to
go
to
solar
so
quickly
you
know
like,
but
I
think
that
that's
that's
been
like
the
default
assumption
is
that
I
don't
even
bother
with
core
search
just
go
right
to
right
to
solar.
C
Oh
well,
that
would
be
a
big
problem
yeah
it
should.
It
should
do.
Oh
well,
maybe
if
you're
talking
about
like
the
you
know
the
admin
content
search,
that's
only
searching
the
titles
for
sure,
but,
like
the
actual
like
search
page,
you
also
can,
I
think,
maybe
also
what
might
have
confused
you
at
1.2
when
you
were
in
the
views
setup.
I
think.
C
Index
actually
is
core
search
index,
and
so
you
can-
and
this
is
a
difference
when
drupal
8
ported
views,
they
removed
the
search
index
from
views
which
is
still
in
backdrop
and
still
usable.
So
you
can
actually
set
up
a
view
to
use
core
search
that
works
way
better
than
the
normal
search
page.
C
That
uses
a
search
index
table
combined
with
views
to
like
make
something
kind
of
like
search
api's
listings,
but
it
still
doesn't
have
facets,
which
is
you
know,
highly
useful,
so.
A
C
Yeah
yeah,
I
like
how
you
you
know
how
you
set
up
a
layout
for
your
search
page.
That
seems
like
that's
a
really
smart
move
too.
C
Yeah,
I
think
I
see
a
lot
of
sites,
I'm
not
not
actually
sure
which
way
to
go
on
setting
up
a
lot
of
pages
that
it
looks
like
possibly
what
you
did
is
you
set
up.
The
view
was
a
page
display,
and
then
you
added
the
layout
on
top
of
it,
as
opposed
to
the
alternative
to
that
which
is
you
create
a
layout,
and
then
you
create
a
block,
and
then
you
place
the
block
within
the
layout
page
and,
like
I'm,
not
sure
which
way
you
know
is
actually
better.
A
C
So
I
didn't
try
it
with
block
yeah,
because
you
only
have
one
global
set
of
placements
in
drupal.
So
of
course
you
wouldn't
want
to
block
because
then
yeah
what
would
provide
the
the
page
like
there
would
be
no
route.
You
know
there'd
be
no
path
other
than
the
view
in
the
world
of
drupal,
but
in
backdrop
yeah.
You
can
make
that
a
layout.
C
Well
justin,
this
is
this
is
really
great
and
honestly
I
like,
I
can
just
see
the
dozens
or
hundreds
of
hours
that
it
probably
took
just
kind
of
like
bumping
into
dead
ends
and
then
like
trying
to
figure
out
a
way
around
it.
So
I
think
this
is.
This
will
be
an
enormous
time
saver
for
people,
following
in
your
footsteps,
to
get
the
same
thing
accomplished
yeah.
This
is
really
great,
and
and
thank
you
for
sharing.
C
A
C
Yeah
I
I'd
like
the
thing
that
bothers
me
most
about
solar
is
the
black
box
that
it's,
that
is
the
configuration
of
solar
itself.
You
know
it's
all
xml
files
and
some
kind
of
schema
thing,
and
I
don't
understand
how
any
of
that
works.
C
A
Let's,
let's
go
back
to.
C
C
A
C
A
A
In
the
in
the
drupalize
me
there
were,
there
were
explanations:
instructions
on
how
to
alter
this
file
the
schema.
C
A
C
Okay,
well,
it
looks
like
we're
out
of
time.
Thank
you
thanks
again,
justin
and
big
applause
from
from.
C
All
right
well
great,
well
we'll
close
out
the
session
and
yeah
we'll
go
back
to
the
main
room
thanks
so
much
again,.