Skip to content
faguim edited this page Jun 4, 2020 · 7 revisions

In order to enable exact match on solr it is necessary change the type field to be matched:

1 or create a new one

2 this endpoint only edit a such field, to create a new one is necessary to create another endpoint

  • To step 1 work, it is necessary to load extra libs to the collection core. It is achieved by adding the following code to the file data/{SOLR_CORE}/conf/solrconfig.xml:

<lib dir="/opt/solr-8.5.0/contrib/analysis-extras/lucene-libs/" /> <lib dir="/opt/solr-8.5.0/contrib/analysis-extras/lib/" />

  • Reindex the documents
Clone this wiki locally