cancel
Showing results for 
Search instead for 
Did you mean: 

Solr Problems

june_cataquez1
Confirmed Champ
Confirmed Champ

Hi Alfrescians,

I encountered Solr problems even after performing a full re-indexing. I always get JiBXException and EOFException.

I checked /opt/alfresco-community/alf_data/solr/archive-SpaceStore/alfrescoModels and /opt/alfresco-community/alf_data/solr/workspace-SpaceStore/alfrescoModels for my custom model, it was there but it's content is empty. What should I do with it? should I delete it? Please give me some advice to fix this issue. Thanks in advance.

Best Regards,

June

1 ACCEPTED ANSWER

kaynezhang
World-Class Innovator
World-Class Innovator

Yes ,you can try to remove alfrescoModels folder and perform a full re-index.

If this issue still exists ,you can try to change your custom content model xml file (for example add some space into it or add a new property ) in alfresco ,then solr will try to download the new version model definition.

View answer in original post

10 REPLIES 10

kaynezhang
World-Class Innovator
World-Class Innovator

Yes ,you can try to remove alfrescoModels folder and perform a full re-index.

If this issue still exists ,you can try to change your custom content model xml file (for example add some space into it or add a new property ) in alfresco ,then solr will try to download the new version model definition.

Hello Kayne,

I found an error in alfresco.log :

ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-bio-8443-exec-20] Exception from executeScript - redirecting to status template error: 11080082 Wrapped Exception (with status template): 11080083 Nodes with no type are ignored by SOLR

What is this about? I already deleted alfrescoModels folder in /opt/alfresco-community/alf_data/solr/archive-SpaceStore/alfrescoModels and /opt/alfresco-community/alf_data/solr/workspace-SpaceStore/alfrescoModels, then perform the full re-indexing.

Best regards,

June

During  indexing,solr will try to get node metadata information(for example note type) and property information from alfresco.

This error means some of the nodes don't have nodeType information.
But I don't think this error cause JiBXException and EOFException.

I did not see any JiBXExecption and EOFExection in solr.log, the errors are now in alfresco.log.

What should I do to fix nodes that have no nodeType informations ?

Hi June,

I have the exact same problem. Did you get it to work?

I am upgrading from 4.2 (lucene) to 5.2 (solr4). It seems that the re-indexing finished well enough but search is not working and I have those same errors in alfresco.log.

Regards,

Aaron

Hi Aaron,

I manage to solve the issue by doing the ff:

Step 1: Stop Alfresco and your Database (MySQL for my instance).

Step 2: Delete all the contents of the following folders: (UNIX environment)

a. <ALFRESCO_HOME>/alf_data/solr4/index/workspace/SpacesStore

b. <ALFRESCO_HOME>/alf_data/solr4/index/archive/SpacesStore

c. <ALFRESCO_HOME>/alf_data/solr4/model

d. <ALFRESCO_HOME>/alf_data/solr4/content

Step 3: Start your Database and then Alfresco

This is my reference: Performing a full reindex with Solr | Alfresco Documentation 

Best Regards,

June

Hi,

Thanks for your help. I actually managed to get re-indexing to work using the documentation you referenced. In my problem, I forgot to actually 


Regards,

Aaron

Hi kayne,

I found a similar error like June but in an upgrade of Alfresco (from v3.4 to v5.1) but the folder "alf_data/solr4" was empty because it was a new index.

Any idea?

Thanks in advance!
Jorge

Have you tried to perform a full reindex  after you upgraded alfresco,please refer to Performing a full reindex with Solr | Alfresco Documentation  on how to reindex