I have a Solr 7.6.0 Lucene index (lots of .pdf's, .docx and .xlsx files)
The index was created using the post command in a command window, pointing to a directory share (mapped filepath) where the files exist.
There is also a web URL for the document which I have in a database and Lucene currently knows nothing about. I would like to 'enrich' the existing index with this URL data.
Can I extract the id of the currently indexed files and then use the Solr web interface to modify the existing index, injecting the URL?
I am looking at the following tutorial for advice: https://www.tutorialspoint.com/apache_solr/apache_solr_indexing_data.htm
The tutorial shows an example of adding a document but not modifying one.
stored="true"
- assuming you're using Solr. It'll also require running a Solr version that supports atomic updates. - MatsLindh_text_
is usually generated from acopyField
statement. All the fields that aren't defined as copyField destinations must be stored, however - otherwise the value of that field is lost. - MatsLindh