Member Menu
 
 Monthly JBoss newsletter:
 
Hibernate Books
CaveatEmptor

Hibernate Search FAQ

How to get started?

  1. Start with the online documentation
  2. Get more familiar with Lucene itself.
    1. Read the Lucene FAQ it is packed with valuable information
    2. Get hold of a copy of Lucene in Action. It is by far the best reference for all Lucene related questions and packed with valuable examples.
  3. Learn to use Luke and start understanding the Lucene index structure by actually looking at it.
  4. Get the Early Access Edition of Hibernate Search in Action
  5. Deepen your Hibernate knowledge with Java Persistence with Hibernate

No files are created in index directory, even on manual indexing.

Hibernate Search won't create a new index in existing directories.

The fundamental Lucene index files are created at framework startup, but existing directories are not modified. Delete the directory: the framework will create it and build the basic index structure at startup.

Can I mix HQL and Lucene queries?

This is not possible as there is no way to intersect the results from both queries without iterating on at least one of the results.

You may consider adding additional fields to the Lucene index and then look at the Filters in the reference documentation.

© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]