Help

Hibernate Search 3.2 has been in development close to a year and now we are releasing it :) Instead of giving you a list of new features, let me highlight a couple of use cases we now cover:

Defining index mappings depending on customer / deployment

The primary way to express index mappings in Hibernate Search is via annotations. This works 95% of the time, but in some cases you want to adjust what gets indexed and how in a more fine grained way. For example:

  • you deliver the same application to different customers and want to give them the opportunity to configure some of the available indexed properties
  • you deploy the same domain model in different apps where each needs specific search capabilities

To achieve this, we have introduced an easy to use, easy to read fluent programmatic API to express index mappings. Check out the programmatic API in the reference documentation or this blog entry.

Index/reindex my data easy and fast

In Hibernate Search, there has been a couple of best practices to initially index your data. You needed to read your data from the database in batch, call the index operation, flush and clear the session and move on to the next batch.

Forget that now. We have a super easy API to index or reindex your data (as simple as two method calls). You can also configure how indexing is done via an intuitive fluent API (yes we've catched the fluent API virus and you haven't seen the end of it). Not only is the new approach easy to use but it's also massively faster than the previously recommended best practices. We highly recommend people to move to this new approach.

Check out the reference documentation or this blog entry for more info.

I can't use JMS, but I need index clustering

Let me first state that setting up a JMS queue is super simple and trivial in any of the modern application servers ( esp JBoss AS :) ) and you get tons of benefits from it (reliability etc). Of course, if you like to waste time and build your own stack on top of Tomcat or equivalent, too bad for you.

Anyways, you can now use an alternative approach to JMS for clustering. We now support raw JGroups communications between cluster members.

My sysadmin needs a way to see what indexing operation have failed and restart them

Luckily that does not happen often but when indexing failures happen, we need to do something about them.

You now have access to an API to listen to indexing errors and process them as you please. The default implementation logs the error but you can easily decide to push the errors to some queue for display or replay, send a message via SNMP etc etc. The actual error is provided as well as the list of entities that should have been processed (quite handy for replay).

I have a single instance updating the index, can I make it faster?

Yes, if a single instance of Hibernate Search is responsible to update the index, we can speed up things. Simply add

hibernate.search.[default|index name].exclusive_index_use true

What else?

Hibernate Search 3.2 runs on Hibernate Core 3.5 and JPA 2. And as always we did many more things for this release including various optimizations, bug fixes, simplifying the Hibernate Search settings (especially for dependencies), adding a simpler API for bridges.

Check out on the web site, download Hibernate Search or browse the reference documentation. We also have a migration guide from earlier versions of Hibernate Search.

PS: For the Maven users, JBoss has migrated to a new maven repository. Read this user guide to know more.

PPS: We are already on Hibernate Search 3.3. Stay tuned.

18 comments:
 
07. May 2010, 06:50 CET | Link
Aaron Walker

Congrats on the release....looks likes some nice goodies to try out.....

ReplyQuote
 
08. May 2010, 18:43 CET | Link

That is one SLLLOOOOOOWWWWWW repository. What's up with that https?

 
09. May 2010, 07:19 CET | Link
Marc wrote on May 08, 2010 12:43:
That is one SLLLOOOOOOWWWWWW repository. What's up with that https?

Our IT has become a bit paranoid after the JIRA security saga.

 
10. May 2010, 15:36 CET | Link
Marc wrote on May 08, 2010 12:43:
That is one SLLLOOOOOOWWWWWW repository.

Yeah, it's a known issue at this point in time. The build team has these details about the issue:

http://community.jboss.org/en/build/blog/2010/04/26/maven-repository-performance-issues

http://community.jboss.org/wiki/MavenRepositoryPerformance

http://community.jboss.org/en/build/blog/2010/05/07/maven-repository-performance-update

 
13. Jun 2010, 12:53 CET | Link

Gr8 job in this release.

 
20. Jul 2014, 07:09 CET | Link

A tote handbag is women's best friend. It is an accessory that some women cannot live without once they get out to work or take a party and so on. Therefore, here are the chanel outlet online health tote bags for women that you might like to carry with.

Another thing that you should look is the objective of these designer accessories. For example, the fashionable and welcomed chanel outlet adopt double C as special cheap longchamp label. When you find yourself interested overall of branded handbags, the actual real and unique mark ought to be needed thing.

One of the most basic signs to make note of whether the bag is really a replica or not, is to check if your Chanel logo is a CC or GG. Embrace Chanel logo is associated with CC intertwined with each other, in classic silver or gold hardware, whose polish doesn't come off so quite readily. So if at any longchamp outlet point of time, you see an issue with the logo designed wrongly, and sense that the polish is dull or is resulting out, an individual should know that it is not an original bag.

Just with this chanel butterfly earrings, it seems very superb with diamond shinning on its entire body.and it is gold plated all over-the-counter earrings in which it superb enough. The butterfly design is the most important point why my friend love this.she said:when i wear this pair, I genuinely feel it improve my louis vuitton replica apparance and give me extra a belief.But she always ask me in order to buy the chanel replica jewels.coz, she isn't satisfied to own one associated with them.But to honest,it is really expensive invest in the chanel earrings as well as other chanel jewelry in the chanel official site.

 
02. Sep 2014, 12:26 CET | Link
jack

These few points given above are the examples that mediocre SEO dentist vero beach experts says to you. They are all seeking to make some money with no visible results for you. With these people, you end up losing money, time, and your motivation too

 
10. Sep 2014, 20:27 CET | Link
jack

Thanks for writing such a good article, I stumbled onto your blog and read a few post. I like your style of writing. increase youtube views online

 
13. Sep 2014, 13:36 CET | Link
asadalikhatri

It is amazing how easy it is to find online paper essay writing services reviews. Students never have to suffer again. I commend you on the valuable information provided on this blog. However, students can now afford to be lazy without having to endure the consequences, which is a negative aspect.

 
14. Sep 2014, 07:52 CET | Link
asadalikhatri

I have used some of the essay service online. I had my fair share of disappointment when I started out. I got some shoddy work from some writers and it made me want to give up on finding competent writers. At least those starting out now have constructive advice to follow on your blog.

 
21. Sep 2014, 16:48 CET | Link
asadalikhatri

If you are ready to compare cheap quotes by zip code or simply check current rates we will help you to choose the best auto coverage you need. To have an idea on what you can save and which auto insurance companies are the most affordable, check with your local department, which has information on rates and companies that operate in your state.cheap auto home insurance quotes

23. Sep 2014, 11:48 CET | Link

The cheapest way to save on policy getting such coverage for home loan pre-approval, if it needs for financial company or if you are buying a new house. If you're just looking for a cheap quote on house protection, as a homeowner, for your current home, check quotes from leading homeowners insurance companies that fits your needs and budget. Maximize your savings, choose the cheapest coverage, compare quotes through over 2000 agents and trusted companies of the United States.cheap house insurance

24. Sep 2014, 07:24 CET | Link

Great post! I am actually getting ready to across this information, is very helpful my friend. Also great blog here with all of the valuable information you have. Keep up the good work you are doing here.how do you get your ex boyfriend to want you back

 
28. Sep 2014, 08:32 CET | Link
new quote on auto insurance

We help consumers to obtain cheap rates from reliable insurers and companies online. Using our service you save your time money and get the best car insurance coverage for new and used vehicles.new quote on auto insurance

29. Sep 2014, 10:16 CET | Link

Take a chance, get a quote on home owner insurance by 5-digit zip code in few minutes. It is obvious that home ownership is dream for anyone. But searching and buying of such home place for your family could be important and responsible investment. It means that good loan can be obtained if your house and posessions are properly insured with affordable homeowners insurance policy.

 
15. Nov 2014, 09:05 CET | Link
hot slut

The level of connection is to kind through prospective clients to locate a very good coordinate. Discovering the features you want in a partner is very crucial, but how do you know if the men you fulfill are even ready for a connection. hot slut

 
04. Dec 2014, 14:25 CET | Link
article

You marketed a few factors on eBay and know how to develop a type on the internet. You've done a few queries on search engines, and knows generally how they perform ... OK, you're ready to improve your website. You just need to know how to improve. article

06. Dec 2014, 11:48 CET | Link

Visit the site and generate free roblox robux at free of cost.

Post Comment