Tutorial: Searching
(we need help to improve this translated tutorial)Once that you have a considerable quantity of documents within your repository, one of the most useful taks will be the possibility to perform search over that documents. jLibrary allows serching within document contents, or using only document defined keywords for search.
But jLibrary not limits this search capability to documents. jLibrary alswo allows to perform searchs over document resources, or even over document created notes. This additional feature, can became a considerable cost at the time of adding documents to repository. For example, imagine a document with other ten documents defined as resources. When you index that document, the ten resources would also be indexed. This can take a considerable time. If you don't want to index notes our resources, you can configure it from jLibrary preferences. To configure this, you should go to jLibrary Preferences -> Document indexing, from the Administrate -> Preferences main menu:
If you don't need to index resources, or notes, then disable that options form the preferences page, and you'll se a condierable performance boost at document addition time.
Well, for doing a search, you must go to Search option in jLibrary main menu. You must ensure to have at least one opened repository, otherwise you'll get an error message. Once you have selected search option, the search dialog will be shown:
As you can see, the serach dialog is very simple. You only have to enter the term or phrase that you want to serach, select if you want to search that item over the document content or keywords, and finally choose the repository in which you want to perform the search. Finally, you have to press the Search button to start the search process.
Once the search is performed, search results are shown in the Search View:
In this view, you can see the different results found, just with some data about that results, as for example the name, the results repository, their location under that repository, and a score of the result. The better results will have more starts than the worst ones.
Moreover, if you perform several searches, you can query previous search results using the toolbar button at the serach view, as it's shown in the previous screenshot. If you're sure that you won't need previous searches, or if the annoy you, you can use the different toolbar buttons to remove one or all the previous searches performed.
Finally, if you want to see some result, you only must to double click over the document, resource or note found, and it will be opened into the editor.
Congratulations ! You have performed your first search :-)
-martin