-
Notifications
You must be signed in to change notification settings - Fork 1
SOLR
faguim edited this page May 23, 2020
·
7 revisions
In order to enable exact match on solr:
- Edit the field type
text_lr
1, through the schema API https://lucene.apache.org/solr/guide/6_6/schema-api.html. To achieve such work, the harena-asm's postman has a client end pointPOST replace field type
2. - 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
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