No description, website, or topics provided.
Clone or download
Pull request Compare This branch is 1 commit ahead, 5 commits behind MIR-MU:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


MIaSMath is a math processing plugin for Lucene or Solr.

To integrate MIaSMath including MathTokenizer into a Solr instance:

1. Following libraries must be copied to solr/lib directory:

2. Configuration in the schema.xml must be done:
The following attributes must be specified for the tokenizer MathTokenizer:
  subformulae - true for analyzer type index, false for analyzer type query
Complete example:
<fieldType name="math" class="solr.TextField">
  <analyzer type="index">
    <tokenizer class="" subformulae="true"/> 
  <analyzer type="query">
    <tokenizer class="" subformulae="false"/> 

A field for storing math must be declared:
<field name="math" type="math" indexed="true" stored="false" multiValued="true" />

That's it. You can run your Solr instance and test MathTokenizer in the analysis interface.