Easynet. SOLR Development History

Source: Internet
Author: User

This morning, I suddenly wanted to write my own development process of easynet. SOLR. During this period, I encountered many problems, such as architecture problems and performance problems. I would like to share with you some of my ideas. I don't think there is any experience or something inappropriate. You are welcome to make a picture.

I remember that I decided to use SOLR for the company's full-text retrieval application. SOLR initially gave me the feeling that the function was perfect, and the performance also met the current needs. However, when I select the. NET client, I am a little embarrassed. At that time, there were only two options: solrsharp and SOLR. net. Solrsharp has not been updated for a long time, so it was decided to use SOLR. net. Because I like simplicity (I like simplicity, and I am a Fan Ke), I have simplified it in SOLR. net. I remember that on the evening of the official launch, I found some performance problems with SOLR. Net during online testing. Later, according to the dump file, it was mainly caused by serialization. So that night I changed serialization to interface-based implementation. After going online, we gradually optimized SOLR. NET and modified the XML-based protocol to the JSON-based protocol. Later, we sawCodeFinally, it was modified to adopt the javabin protocol officially recommended by SOLR.

To make it easier for other users to use SOLR on the Windows platform, I opened the SOLR. Net version easynet. SOLR that I changed myself last year. In subsequent days, the easynet. SOLR architecture was gradually modified to make it simpler and easier to expand. Currently, most SOLR functions are supported in released versions.

I have a principle: I provide the best method you and I think, but if you are not satisfied, you can expand on this architecture to implement your own ideas. Based on this principle, easynet. SOLR maintains the default javabin protocol and interface-based serialization implementation. However, by implementing icodec and icodecfactory, You can process XML, JSON, and other protocols. The general DNS interface isolrresponseparser provides full control over SOLR operation results.

It is difficult to build an open-source project. Sometimes, suddenly there is a new idea, and I may get up late at night to encode and implement it. One of my colleagues commented on easynet. SOLR on codeplex.

At the beginning, we should stick to it as much as possible, do as well as do better. I am very simple. I like open source, I like sharing, I like coding, and I am a Fan Ke.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.