New full-text search

From Mdidwiki

Jump to: navigation, search

Starting with MDID2 release 0.8, a new full-text search mechanism is available in addition to the database-based full-text search.

The new search is based on the dotLucene project and currently supports a subset of the dotLucene query features.

Configuration

There is a new section in the MDID configuration file: Search Section

Usage

When using the new full-text search method, you can use several new special characters in the fields on the search screen to improve your search.

  • Approximation: enter a search term followed by a tilde (~) to find terms that are similar. This also allows you to find misspellings or words with accented characters. Examples:
    • "picaso~" will find "Picasso"
    • "cezanne~" will find "Cézanne"
  • Multiple search terms: enter multiple words in a search field to find records that match all of the terms term. Examples:
    • "brick mortar" will find records that contain "brick" and "mortar"
  • Exclude terms: Prefix a term with a hyphen (-) to exclude that term. Examples:
    • "picasso -painting" will find records that contain "Picasso" but not "Painting"
  • Wild cards: An asterisk will match any characters. Note that a search term cannot start with an asterisk. Examples:
    • "paint*" will match "painting" and "painter"
Personal tools