Jump To Close Expand all Collapse all Table of contents Hibernate Search Reference Guide 1. Getting started Expand section "1. Getting started" Collapse section "1. Getting started" 1.1. System Requirements 1.2. Using Maven 1.3. Configuration 1.4. Indexing 1.5. Searching 1.6. Analyzer 1.7. What's next 2. Architecture Expand section "2. Architecture" Collapse section "2. Architecture" 2.1. Overview 2.2. Back end Expand section "2.2. Back end" Collapse section "2.2. Back end" 2.2.1. Back end types 2.2.2. Work execution 2.3. Reader strategy Expand section "2.3. Reader strategy" Collapse section "2.3. Reader strategy" 2.3.1. Shared 2.3.2. Not-shared 2.3.3. Custom 3. Configuration Expand section "3. Configuration" Collapse section "3. Configuration" 3.1. Directory configuration 3.2. Sharding indexes 3.3. Sharing indexes (two entities into the same directory) 3.4. Worker configuration 3.5. JMS Master/Slave configuration Expand section "3.5. JMS Master/Slave configuration" Collapse section "3.5. JMS Master/Slave configuration" 3.5.1. Slave nodes 3.5.2. Master node 3.6. Reader strategy configuration 3.7. Enabling Hibernate Search and automatic indexing Expand section "3.7. Enabling Hibernate Search and automatic indexing" Collapse section "3.7. Enabling Hibernate Search and automatic indexing" 3.7.1. Enabling Hibernate Search 3.7.2. Automatic indexing 3.8. Tuning Lucene indexing performance 3.9. LockFactory configuration 4. Mapping entities to the index structure Expand section "4. Mapping entities to the index structure" Collapse section "4. Mapping entities to the index structure" 4.1. Mapping an entity Expand section "4.1. Mapping an entity" Collapse section "4.1. Mapping an entity" 4.1.1. Basic mapping 4.1.2. Mapping properties multiple times 4.1.3. Embedded and associated objects 4.1.4. Boost factor 4.1.5. Dynamic boost factor 4.1.6. Analyzer 4.2. Property/Field Bridge Expand section "4.2. Property/Field Bridge" Collapse section "4.2. Property/Field Bridge" 4.2.1. Built-in bridges 4.2.2. Custom Bridge 4.3. Providing your own id Expand section "4.3. Providing your own id" Collapse section "4.3. Providing your own id" 4.3.1. The ProvidedId annotation 5. Querying Expand section "5. Querying" Collapse section "5. Querying" 5.1. Building queries Expand section "5.1. Building queries" Collapse section "5.1. Building queries" 5.1.1. Building a Lucene query 5.1.2. Building a Hibernate Search query 5.2. Retrieving the results Expand section "5.2. Retrieving the results" Collapse section "5.2. Retrieving the results" 5.2.1. Performance considerations 5.2.2. Result size 5.2.3. ResultTransformer 5.2.4. Understanding results 5.3. Filters 5.4. Optimizing the query process 5.5. Native Lucene Queries 6. Manual indexing Expand section "6. Manual indexing" Collapse section "6. Manual indexing" 6.1. Indexing 6.2. Purging 7. Index Optimization Expand section "7. Index Optimization" Collapse section "7. Index Optimization" 7.1. Automatic optimization 7.2. Manual optimization 7.3. Adjusting optimization 8. Advanced features Expand section "8. Advanced features" Collapse section "8. Advanced features" 8.1. SearchFactory 8.2. Accessing a Lucene Directory 8.3. Using an IndexReader 8.4. Customizing Lucene's scoring formula A. Revision History Legal Notice Settings Close Language: 日本語 English Language: 日本語 English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Language and Page Formatting Options Language: 日本語 English Language: 日本語 English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF 5.5. Native Lucene Queries If you wish to use some specific features of Lucene, you can always run Lucene specific queries. Check Chapter 8, Advanced features for more information. Previous Next