O'Reilly logo

Instant Apache Solr for Indexing Data How-to by Alexandre Rafalovitch

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

Indexing text – in depth (Advanced)

In the previous example, we had a look at how to stop treating text as a long string and start treating it as a set of tokens. In this example, we will look at more complex processing sequences that Solr can apply to a text.

But before we start digging in, it is very important to understand that indexing is not the ultimate goal. Searching and finding content is the goal. Make sure that this is what drives your decision process by analyzing the searches that real users do and adapting your schema and processes to that. A useful book to read on this subject could be Search Analytics for Your Site, by Louis Rosenfeld.

For the sake of learning though, let's consider a somewhat complex scenario. We would like to be ...

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