Skip to end of metadata
Go to start of metadata

Elasticsearch a tool for indexing data, particularly text data, for high performance searching. LawMaster integrates with an Elasticsearch service to store a copy of folio data for searching. The LawMaster-Elasticsearch integration includes Apache Tika as a tool to extract data from documents.

Note: The Portugal release of LawMaster requires Elasticsearch 7.7.1 and Apache Tika 1.24.1. If you are upgrading from a release of LawMaster prior to Portugal, you must upgrade your versions of Elasticsearch and Tika. Complete upgrade instructions are contained in the Elasticsearch 7.7.1 White Paper.

If Elasticsearch is enabled, the "File / Word in Text" Folio search type uses the Elasticsearch index, regardless of whether "keywords" are specified or not. The search criteria behaves as before, but the "keywords" option now has different syntax considerations. Input into the "keywords" field must comply the Elasticsearch "Query String" syntax, the detail of which is available at http://www.elastic.co/guide/en/elasticsearch/reference/7.7/query-dsl-query-string-query.html#query-string-syntax.

Some key points for consideration include:

  • Operators (AND, OR, and NOT) must be uppercase.
  • Parentheses for advanced Boolean operator use are permitted. For example, (big AND cat) OR tiger OR lion.
  • Wildcards and regular expressions are supported.
  • Fuzzy searching is supported. For example, "quikc~" matches the word "quick".
  • There are reserved characters that are not searched for unless escaped with a leading backslash. Reserved characters are:
    + - = && || > < ! ( ) { } [ ] ^ " ~ * ? : \ /
    For example, to search for (1+1)=2, write the query as \(1\+1\)=2.

Topics in this Section