Version: Next

ObjectStore Summary

There are several processes run after the data loading is completed, one of which, the objectstore summarisation. This step counts the number of objects of particular classes, identifies any empty references/collections and collects values to appear in dropdowns in the query builder and templates. The summarisation process also constructs the indexes needed for "type-ahead" autocompletion, this is configured by adding entries to the


Some fields have only a few different values, and are represented as dropdowns on forms so that users may see all possible values. You can set the maximum number of values to display, the default is 200.

If a field is never going to have less than 200 unique values, you can set the field to be ignored. Create a space-delimited list here and those fields will be skipped:

# in MINE_NAME/dbmodel/resources/


Fields in template queries and the QueryBuilder can have type-ahead autocompletion to assist in selecting valid terms. As you start to type, possible matches are fetched from the database; the text you have typed can match anywhere within the terms and multiple words fetched. This is particularly useful for ontology terms or protein domain names.

You can set up autocompletion by completing these steps:

  1. Add all fields you want to be autocompleted to this file, like so:

    # in MINE_NAME/dbmodel/resources/ = description
  2. Add the postprocess to your MINE_NAME/project.xml file.

    <post-process name="create-autocomplete-index"/>
  3. In the /postprocess directory, run this command:

    ~/git/flymine $ ./gradlew postprocess -Pprocess=create-autocomplete-index --stacktrace

This process will add all fields set in this properties file to the autocompletion index.

Now, when you release your webapp, fields you've configured will suggest similar terms as users are typing in the QueryBuilder or the template form.