English 中文(简体)
Hibernate Search or Compass
原标题:

I can t seem to find any recent talk on the choice. Back in 06 there was criticism on Hibernate Search as being incomplete and not being ready to compete with Compass, is it now? Has anyone used both and have some perspective on making the decision.

I am developing a web app in Java in my free time, its just me so I m looking to cut corners everywhere possible while minimizing the effect on the end product. Having said that the searching capabilities of my project are priority one! I have spent a good deal of time making the database model to back the system. The ability to get the user what they re looking for is what will set my app apart. So, speed is expendable ...obviously to a reasonable degree.

Here are my current thoughts on the technologies for this app, and if you see any glaring newb mistakes be gentle ...I m an expert at nothing.

DB: PostgreSQL
Platform: Java
Frameworks: Spring, Hibernate, Seam

Obviously, I ve chosen all free (as in beer) technologies and ones that as far as I can tell play nice together. So what do you guys think, Compass or Hibernate Search to round things out?

-Nomad311

最佳回答

<Careful. Biased person here: I am the project lead of Hibernate Search and author of Hibernate Search in Action by Manning>

If you are targeting Hibernate as your persistence provider, I think you are better off using Hibernate Search as the integration is very smooth (configuration, entity discovery down the the same APIs and programamtic model). If you want to index a lot of "stuffs" that are not in your database, then Compass is a better fit.

We are working on Hibernate Search 3.2 at the moment: our road map is here

问题回答

Hibernate Search is a complete product, and it s based on Lucene, which is one of the fastest open source search engine out here.

As an example, some benchmarks:

http://developers.slashdot.org/story/09/07/06/131243/Open-Source-Search-Engine-Benchmarks

Plus, it s fully integrated with Seam and Hibernate (look at the example in the Seam dist).

I suggest you to be more specific about:

Hibernate Search as being incomplete

I d like to know in which part it is incomplete.

Compass is no more as of elasticsearch is new one after compass. So I think better to use some stable one. (Possibly Hibernate Search)





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签