O'Reilly logo

Hibernate Search in Action by John Griffin, Emmanuel Bernard

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

Appendix. Quick reference

This appendix aims at being a quick reference guide of the Hibernate Search artifacts: annotations, APIs, and Lucene query APIs. For each artifact, a quick description and a reference to the book section or URL are provided.

Hibernate Search mapping annotations

Table A.1 describes Hibernate Search annotations.

Table A.1. Hibernate Search annotation summary

Name

Description

Reference

@Analyzer Defines an analyzer for a given entity, method, attribute, or field. The order of precedence is @Field, attribute/ method, entity, default. Can reference an implementation or an @AnalyzerDef definition. Section 3.4.1
@AnalyzerDef Reusable analyzer definition. An analyzer definition defines one tokenizer and, optionally, ...

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