Even if I want to read this book only by searching engines, I want to learn Lucene. because the query speed in our system is relatively slow (but there is not much data ). especially if you do not have a good permission, it is important to solve the database overhead caused by the query permission. because the system permissions do a lot of things and are relatively fine-grained, the SQL statements are ultra-long during the final SQL spelling. As a result, the current solution is to filter the permissions into a stored procedure, A lot of business logic has been done with stored procedures. The problem I want to solve now is whether the query can be more elegant? Well, some time ago, I even mentioned it in my blog. We can consider Lucene. I didn't pick up the book to learn it over the past few days. During the course of reading the book today, compass was mentioned in the book, downloaded. but I haven't read it yet. Let's talk about it later. however, it is troublesome to create an index on a local machine because disk sharing is not suitable for the dual-machine solution of the existing system. Do you want to store the index in the database? Or is there another storage? (Not yet) It seems that the introduction of compass can basically combine Lucene with Hibernate and spring. If so, isn't hibernate's current project hibernate-seacher doing the same thing? Which one is better? This leaves a problem. At present, I want to proceed with the project first. At least before this project is completed, I will come up with a compass solution. Otherwise, I will not be able to get started with the pre-research project. I even thought about the framework of my project. Spring + hibernate + struts2 + freemarker + DWR + Lucene. Freemarker is mainly used to compile struts2 (webwork) Labels. It can be componentized, and others will be clear at a glance. But which of the following is more suitable for DWR and GWT? Today, I asked some experts if GWT is more suitable for new projects. We need to make a change to the previous one. I'm afraid it's not good. you can also recommend some Ajax frameworks that can be well maintained later. my personal abilities are really limited. |