O'Reilly logo

Apache Solr Beginner's Guide by Alfredo Serafini

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – searching for cities using multiple core joins

One of the more recently added features is the so-called pseudo-join . This functionality permits us to explore queries that contain constraints on values between different fields. The term join is partially misleading, but makes sense if we consider the possibility of using this feature on fields from two different indexes.

Let's look at a simple example, using the paintings_geo and cities examples from Chapter 5, Extending Search.

  1. Let's start with the examples from Chapter 5, Extending Search by executing
    >> cd /your-path-to/SolrStarterBook/test/
    >> ./start.sh chp05 (*NIX)
    >> start.bat chp05 (win)
    

    Please always remember to populate the cores with your data, for example, using the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required