Solr Problems

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
june_cataquez1
Active Member

Solr Problems

Jump to solution

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 Solution

Accepted Solutions
kaynezhang
Intermediate

Re: Solr Problems

Jump to solution

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.

10 Replies
kaynezhang
Intermediate

Re: Solr Problems

Jump to solution

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.

june_cataquez1
Active Member

Re: Solr Problems

Jump to solution

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

kaynezhang
Intermediate

Re: Solr Problems

Jump to solution

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.

june_cataquez1
Active Member

Re: Solr Problems

Jump to solution

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 ?

jorgevalderrama
Active Member

Re: Solr Problems

Jump to solution

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

kaynezhang
Intermediate

Re: Solr Problems

Jump to solution

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

jorgevalderrama
Active Member

Re: Solr Problems

Jump to solution

Yes, but it doesn't work

jat_lee
Member II

Re: Solr Problems

Jump to solution

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

june_cataquez1
Active Member

Re: Solr Problems

Jump to solution

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