New search functionality in 3.5
March 10th, 2008This last week saw the release of KnowledgeTree 3.5.2. From a functional perspective, we’ve had some great developments regarding search that I’m wanting to comment on.
KnowledgeTree now includes a search grammar/language, allowing users to construct search queries on almost any field relating to a document. The new search engine provides great flexibility and leverages the power of the database to query document metadata, and the new full text search system based on the Apache Lucene project to query document content.
In previous versions of KnowledgeTree, search functionality has been accessible via a ‘quick search’ dashlet on the dashboard and in a little portlet when browsing through the repository. This has been replaced with an easy to access search widget on the top of each page:
Entering a value in the search widget searches through the metadata, document id, document text, discussion text, filename and full path fields.
The advanced search query builder has been modeled similarly to previous versions. The advanced search has improved grouping to allow improve the user experience in selecting search fields.
Search results are returned similar to search engine results, ranked by relevance:

All the bulk actions available when browsing are available via the search results.
Improvements to search also include searching based on full path - allowing you to create search query based on a specific folder and it’s child folders. Further, you can now also perform wild card searches. Searching terms such as ‘th*’ will return documents containing ‘thread’, ‘threat’, etc. Wildcards can be incorporated between letters, such as ‘t*t’ meaning to match words starting and ending with ‘t’. A question mark (?) may be used as a single character wildcard.
There should also be a noticeable improvement to performance when adding a document as the indexing process is now done as a background task. A number of administrative pages are provided to help administrators diagnose problems with indexing.
Lastly, the search using the grammar syntax is supported via web services - allowing third party applications to locate documents in KnowledgeTree more easily.
In time we’ll be able to provide considerably more improvements, with many other features such as records management utilising some of search capabilities. Further extensions in the ’search pipeline’ include word proximity matching and others made available via Apache’s Lucene full text search.




