Summary
So far we’ve met the Index class. This class
is just a convenient, easy-to-use interface to the rest of the Ferret API.
It does most of the hard work for you, such as parsing queries and keeping
track of the IndexReader and IndexWriter classes behind the scenes, or
knowing when to commit the index so that your search is always on the
latest version of the index. There is a lot more that you can do with the
Index class, and in most cases it will
be all you need. But if you really want to take full advantage of all
Ferret has to offer, you’ll need to find out what is going on behind the
scenes. In Chapter 2, we’ll learn more about how
indexing actually works and how to configure the index for your
application.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access