OpenWIS / openwis

http://openwis.github.io/openwis
GNU General Public License v3.0
11 stars 15 forks source link

Solr Error When Indexing Or Ingesting New MetaData #415

Open mgiannoni opened 1 year ago

mgiannoni commented 1 year ago

Solr Error When Indexing Or Ingesting New MetaData

SolrError

MetaData Sample In Solr

SolrMetaDataSample

abrmh commented 1 year ago

A weight parameter has been removed from solrconfig.xml ,because it does not exist in schema managed-schema. that what causes the error .

mgiannoni commented 1 year ago

@abrmh: Can you post the change here to GitHub?

Thanks!

mgiannoni commented 1 year ago

I believe this is the change made to solrconfig.xml :

[root@ip-205-156-8-208 server]# diff -c /home/openwis/Deployment/DataService/openwis_solr_conf/solrconfig.xml /var/solr/data/giscdev/conf/solrconfig.xml
*** /home/openwis/Deployment/DataService/openwis_solr_conf/solrconfig.xml       2021-07-13 14:51:20.000000000 +0000
--- /var/solr/data/giscdev/conf/solrconfig.xml  2023-02-21 16:25:06.667956288 +0000
***************
*** 535,541 ****
                          <str name="start">0</str>
                          <str name="rows">10</str>
                  </lst>
-            <lst><str name="q">rocks</str><str name="sort">weight asc</str></lst>
        </arr>
      </listener>
      <listener event="firstSearcher" class="solr.QuerySenderListener">
--- 535,540 ----
[root@ip-205-156-8-208 server]#
yvesgoupil commented 1 year ago

I tested the new solr_install_resources.zip after deleting the Solr core1 on our 2 dev GISCs deployment (CentOS 7.9 and Rocky Linux 8.7) and it's OK.

mgiannoni commented 8 months ago

Updates to solrconfig.xml are not included in the configuration tarball:

solr/solr_install_resources.zip/openwis_solr_config.tar.gz

Also: Why is a tarball inside a zipfile?