Summary

In this chapter, we examined the most common use cases in Hibernate Search querying. We can now work with Hibernate Search regardless of whether JPA is used in whole, in part, or not at all. We learned the core query types offered by the Hibernate Search DSL, and have an easy visual access to all of their possible flows rather than having to crawl through the Javadocs to piece them together.

We now know how to sort search results by a particular field, in ascending or descending order. With large result sets, we can now paginate the results for better performance on the backend, and a better user experience on the frontend. The search functionality in our VAPORware Marketplace example is now greater than or equal to many production Hibernate Search applications.

In the next chapter, we will look at more advanced mapping techniques, such as handling custom data types and controlling details of the Lucene indexing process.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset