Last time, I've downloaded two 3rd-party tools: Lucene.Net & Pangu, and made a few modifications to the system. This time, I'm gonna finish the basic functions of the Fulltext search feature.
Last time, I've downloaded two 3rd-party tools: Lucene.Net & Pangu, and made a few modifications to the system. This time, I'm gonna finish the basic functions of the Fulltext search feature.
We have implemented the first 2 features. Now it is time to implement the 3rd feature: full text searching.
You may have noticed that there is a Resource Type which is named "Picture". Since we can store images in the system, why not building an application to change the wallpaper for the Windows from time to time?
There is a main function that we have not implemented: Delete Document. Let's see how to do it in this section.
The "Export Document" function is also not hard to be implemented, so I'll just post source code here without explaining too much.
The search function is not hard to be implemented, so I'll just post source code here without explaining too much.
Since we have got ready the key class CFileHandler, the left work to do will be pretty much straightforward.
One of the most important and special features of this personal document management system is to support handling documents of unlimited sizes. In this part of the article, let's find out how.
Now that we know how to use Entity Framework along with the SQLite database, let's start to implement a key function of this system: Import/Add Document.
Since the database is ready, the next thing I'm going to do is to download the Entity Framework and see how it works. Before doing that, let's create all the projects first.