Skip to content

Uwazi v0.3.5 released

Pre-release
Pre-release
Compare
Choose a tag to compare
@kjantin kjantin released this 08 Jun 15:03

Improvements and upgrades

Better looking URLs for search filter results

One great feature in Uwazi is the ability to save and share search filter results using a unique URL. With this latest release, we have improved the usability of this feature by making the URLs shorter and more readable. Here is an example of a search filter results URL before this improvement, and after:
Before:
https://hr-reports.uwazi.io/en/library/?aggregations=%5B%7B%22name%22%3A%22countries%22%2C%22nested%22%3Afalse%7D%5D&types=%5B%2258d06c67f53d6d50ab7495ea%22%5D&filters=%7B%7D&order=desc&sort=creationDate
After:
https://hr-reports.uwazi.io/en/library/?q=(order:desc,sort:creationDate,types:!(%2758d06c67f53d6d50ab7495ea%27))

Improvements to priority sorting

Previously the default sorting was always "Date (Recently added)". Priority sorting had a minor impact and only started influencing search results once the user had selected a custom property for sorting. Conversely, that selection was short-lived if a filtered document type was missing that property.

The changes now make priority sorting govern the default sorting the moment you access the library and uploads sections. It also changes frequently as you change your filtered document types. Furthermore, user selection is now remembered and, whenever possible due to filters selected, it uses the user-selected option.

We’ve upgraded to elasticsearch 5.4

This upgrade improves Uwazi's full text search capabilities, allowing us to build new features that will help users find specific text within their document collection. Stay tuned for the release of these new full text search features!

What does this mean for you?

If you're hosting with us:

  • We have already deployed this upgrade to your Uwazi instance.
  • In your Uwazi instance, you will need to update any URLs based on search filter results, such as:
    • any menus that include URLs to search filters, or
    • any embedded lists that include URLs to search filters (e.g. your homepage). See our user guide for more information on how to use custom syntax to embed lists in a page.

If you are hosting Uwazi yourself:

  • You will want to upgrade by downloading the latest release of Uwazi, and

  • Install elasticsearch 5.4 on the system.

    If your setup is using the default ports and database locations and names, all you need to do is reindex the elastic search index. If you have customized ports and database, configure env variables by exporting the following values:

    $ export ELASTICSEARCH_URL=elasticsearch_url (default is localhost:9200)
    $ export INDEX_NAME=elastic_index_name (default is uwazi_development)
    $ export DBHOST=mongodb_url (default is mongodb://localhost)
    $ export DATABASE_NAME=db_name (default is uwazi_development)

Then, execute the reindex script from uwazi root directory

    $ cd database/
    $ node reindex_elastic.js

More information