The release 5.0.0.Alpha2 is now available on our shiny new website: as the alpha1 release also did, it integrates with Apache Lucene 4.6.1, but now we do it better ;-)


More Like This queries

New features! A More Like This query is a special kind of query which takes a model document as an input, rather than a traditional string. It has been available for you to use since a long time via Lucene's MoreLikeThis Query implementation, but this implementation was rather tricky to use on our richer entity based model. Hibernate Search now provides direct support for this functionality via our Query builder DSL, and in its simplest form looks like this:

Coffee exampleCoffee = ...

QueryBuilder qb = fullTextSession.getSearchFactory()
        .forEntity( Coffee.class )

Query mltQuery = qb
            .toEntity( exampleCoffee )

List results = fullTextSession
        .createFullTextQuery( mltQuery, Coffee.class )

What does it do? It returns a list of Coffee instances which are similar to the exampleCoffee instance. The definition of similar is as usual controlled by the analyzers and indexing options you choose. By default the list is of course ordered according to the scoring model, so the top match would be the example entity itself (this might be surprising but is often useful in practice).

A more extensive blogpost about this will follow, but if you can't wait to learn more see all details in the Building queries chapter.

Faceting improvements

One of the highest voted improvement requests on JIRA, it is now finally possible to facet on embedded collections. Hardy also started exploring possible performance improvements, and how to use the new Lucene 4 features: feedback, use cases or patches would be very welcome as we're eager to improve faceting more.

Watch the migration guide

If you're updating an application from previous versions of Hibernate Search, we highly recommend to keep an eye on the Migration Guide as the changes in the Lucene API are significant and not always self-documenting. Suggestions for the migration guide are also very welcome.

The Apache Lucene Migration Guide might also be useful, but we applied most of it already to the internal engine for you to use transparently.

The hibernate-search-analyzers module is removed

This module was created years ago when we had to fork some Lucene code to allow an easy migration path, but is now since long an empty module just depending on various commonly used analyzers. It's time for spring cleaning of dependencies, so the no longer needed module is removed: if you where using it, just remove it from your project and include a direct dependency to the analyzers you need from the Apache Lucene ecosystem.

What's next?

You can find an high level overview on our Roadmap page, or check the fine grained break down on this JIRA filter. Essentially we're aiming now at OSGi compability and at usability improvements which had to be postponed to a major release.

02. Aug 2014, 10:24 CET | Link
cpm advertising

Steer clear of frustrating adverts to make certain your web visitors keep coming back once more. If the sponsor offers you simply no selection concerning making use of pop-ups, you almost certainly need to pick a fresh a single.

30. Aug 2014, 03:58 CET | Link

Best friend successive good years, Gucci Shoes Factory, winter spent in Sanya, Monster Beats Outlet, so winter home, seems to be nowhere in sight, North Jackets Outlet, both a little rusty, Nike Air Max Shoes, but also very cordial, Burberry Outlet Online, forward to tonight, feather-like snow, MCM Bags Outlet, drifts underground, Coach Black Friday, looking at that the floc, Louis Vuitton Outlet, fly like snow Ling, Michael Kors Outlet Online, eloquent, Polo Outlet Online, flying in the sky, Cheap Canada Goose, limp walk downs, strange things, Marc Jacobs Outlet Online, I float thinking lianpian, North Outlet Online, poetic heart wenqing, not help surging surging, Coach Factory Outlet, so I borrowed the winter, Ralph Lauren UK, snows research ink, Longchamp Sacs Sortie, into the mind of inactivity, Michael Kors Outlet, the white snow everywhere, Monster Beats By Dre, wrapped in some different, Ralph Lauren Outlet, kind of scenery, Oakley Sunglaases Outlet, wherever the wind in the faces, of the people, Michael Kors Bags Outlet, who are very Huddled, could not help.

15. Sep 2014, 11:55 CET | Link

The availability of high high-quality replica handbags,Focal Watches means that even the budget conscious shopper may possibly enjoy the prestige of owning a cheap jewelry watches designer item that looks and feels like the real point. No longer are these poorly designed knockoffs that fall apart after just a few days. The intense Cheap Luxury Watches competition within the replica market not only leads to competitive pricing, but also superior high-quality.The considerably lower cost also provides the fashion conscious shopper replica designer belts together with the ability to own numerous designer bags without breaking the bank. Hit the streets with a Gucci on Monday,Luxury Replica Watches plus a Louis Vuitton on Tuesday.

22. Sep 2014, 08:51 CET | Link

Read all new stuff you posted for the learning of others. I like the important facts of this content which you emphasize. Thanks much

17. Oct 2014, 04:48 CET | Link

I love your article! I have never been this interested with those things before! You let out the spirit in me.

buy instagram like
04. Nov 2014, 04:00 CET | Link

Hibernate Search now provides direct support for this functionality via our Query builder DSL, and in its simplest form looks like this

17. Nov 2014, 07:45 CET | Link

As we all apperceive that all women accept their altered admeasurement and figure, so the admeasurement and actualization of all cast dresses can vary. Women accept altered affidavit to acquirement replica chanel this dress. Some ladies wish to abolish bulges from their abstracts and some wish to attending slimmer in this blazon of attire. If you wish to attending slimmer again be accurate while allotment the blush of your Herve Leger dresses. Dark colors are added adapted for those who wish replica watches uk to attending slimmer. Some women don't wish to abrasion solid colors and feel admirable in them. In this case, they adopt to abrasion a multi-color dress. These types of dresses are the best alternating for those gucci replica who accept admirable shoulders, added achievement and a replica belts tiny waist. You can aswell enhance your adorableness by application some analogous hermes replica accessories with your dress. If you accept continued legs, you will attending beauteous in top heels.

21. Nov 2014, 03:14 CET | Link
Post Comment