Java – what are the disadvantages of using Lucene?

I am considering using Lucene for very fast search in my project I know Lucene has created its own file, which holds all the data / indexes

I wonder what are the disadvantages of using Lucene? Really?

Do you have to do anything with the file database, or do you work well without any external help?

PS: I know Lucene Net, I bet the same rules apply there

Solution

Lucene is great Very flexible, surprisingly fast, and reliable API Mailing lists are very useful

These files do require some maintenance, but they can be completed using the tools provided The most important thing is to optimize the index occasionally, but only when the index is updated regularly

I suggest Solr It is essentially a webapp and tool based on Lucene It makes it easier to create new indexes, maintain optimization and provide master / slave synchronization for scalable search clusters Of course, it depends on your actual needs

For example, I once maintained a search index for a well-known large game company The index has hundreds of thousands of multilingual (global) and locale entries It performs a million searches on the cluster every day, using almost no CPU and a reasonable amount of memory It has been load tested for about 300 million searches on the hardware we have, and can be linearly expanded by simply adding more boxes to the cluser Solr and Lucene are the main tools in this field

If I have to give one disadvantage, it is the learning curve One thing to understand is that if you want a truly optimized solution, you need to understand it well However, if you do this yourself, any search tools you use will be used Documentation, wikis and mailing lists provide a lot of support for this promotion

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>