AnsweredAssumed Answered

request for solr 6 / search services troubleshooting advice

Question asked by dbiggins on Apr 5, 2018
Latest reply on Apr 9, 2018 by dbiggins

What is a good way to troubleshoot the solr 6 database deployed with the Alfresco Search services 1.1.0?

 

I am using Alfresco Community 201707EA version with a Linux / postgres config , and originally was using the solr4 that was deployed by default.  My repository has approx 70K PDFs, and had a 7Gb 'Alfresco' Core.

 

I tested with the easiest search services setup: installed a non-SSL setup running in the $ALFRESCO home directory with the same user that is running alfresco.  The only changes I made to the solr.in.sh was to add the SOLR_JAVA_HOME to be the same JVM that the Alfresco install is using.  I made the appropriate changes to the alfresco properties files and removing solr4 from the webapps directory and started both solr6 and alfresco with no errors.

 

The index starts to build, and I see the appropriate amount of CPU activity that indicates the indexing.  after maybe 20 mins the solr 6 admin page shows that there are 160K num docs and max docs, and the Alfresco core is under 300Mb, and based on the CPU activity it is finished.  This is way too small, obviously.  There are NO errors or info messages in any of the logs.

 

So,

 - How do I force a reindex?  There is a 'reindex' button, but it doesn't seem to do anything.  In solr4, i would delete the files in

$ALFRESCO/alf_data/solr4/index/archive/SpacesStore/index/*
$ALFRESCO/alf_data/solr4/index/workspace/SpacesStore/index/*
$ALFRESCO/alf_data/solr4/model/*

 

- any tips on troubleshooting on what is not being indexed?  Some stuff must be indexed, because a search on 'the' returns a few thousand records, but the solr 6 section of the docs are a little light on troubleshooting.

Outcomes