no index rebuild

280 views
Skip to first unread message

Gerry R

unread,
Jan 16, 2014, 11:47:19 PM1/16/14
to alfresco-techn...@googlegroups.com
I shutdown Tomcat.
removed the models and indexes under solr as instructed for an index rebuild.
Restarted Tomcat.
But I see nothing related to index rebuilding going on in the log.
This is on an Easy Install on Windows 2008 R2 that installed with no problems.

Is there a different index rebuild process with 4.2.e?
Restarting Tomcat does restart the search but no indexing takes place.
Is there a way to force solr to run and rebuild the indexes?

Alfresco Community 4.2.e
Easy Install on Windows 2008 R2 (no errors)

Craig Nelson

unread,
Jan 17, 2014, 7:49:06 AM1/17/14
to alfresco-techn...@googlegroups.com

Do you have solr logs in the alfresco instance or are you just looking at the alfresco.log

--
You received this message because you are subscribed to the Google Groups "Alfresco Technical Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alfresco-technical-d...@googlegroups.com.
To post to this group, send email to alfresco-techn...@googlegroups.com.
Visit this group at http://groups.google.com/group/alfresco-technical-discussion.
For more options, visit https://groups.google.com/groups/opt_out.

Douglas C. R. Paes

unread,
Jan 17, 2014, 8:53:21 AM1/17/14
to alfresco-techn...@googlegroups.com
What I usually do is remove just the files under models folder, but in the I remove the index folder, not only the content.
Is that what you have done?

Douglas C. R. Paes

"D
one is better than perfect"

Zuckerberg



--

Gerry R

unread,
Jan 17, 2014, 9:31:57 AM1/17/14
to alfresco-techn...@googlegroups.com
What I did was this:

        Shutdown Tomcat
        Bring up Cygwin Terminal
        rm -f /cygdrive/c/Alfresco/alf_data/solr/{workspace,archive}/SpacesStore/index/*
        rm -f /cygdrive/c/Alfresco/alf_data/solr/{workspace,archive}-SpacesStore/alfrescoModels/*
        Checked to make sure all files under ...index and ...alfrescoModels were removed
        Startup Tomcat


Douglas C. R. Paes

unread,
Jan 17, 2014, 9:36:19 AM1/17/14
to alfresco-techn...@googlegroups.com
Ok, then try this rm -f /cygdrive/c/Alfresco/alf_data/solr/{workspace,archive}/SpacesStore/index

Remove THE folder

Douglas C. R. Paes

"D
one is better than perfect"

Zuckerberg



Gerry R

unread,
Jan 17, 2014, 10:29:44 AM1/17/14
to alfresco-techn...@googlegroups.com
I think that got it.

Now seeing thn the solr.log:

10:09:16,645 WARN  [org.apache.solr.core.SolrCore] [archive] Solr index directory 'C:\Alfresco\alf_data\solr\archive\SpacesStore\index' doesn't exist. Creating new index...
10:09:17,530 WARN  [org.apache.solr.handler.component.SpellCheckComponent] No queryConverter defined, using default converter
10:09:17,783 WARN  [org.apache.solr.core.SolrCore] [alfresco] Solr index directory 'C:\Alfresco\alf_data\solr\workspace\SpacesStore\index' doesn't exist. Creating new index...
10:09:17,853 WARN  [org.apache.solr.handler.component.SpellCheckComponent] No queryConverter defined, using default converter
10:11:27,875 WARN  [org.alfresco.solr.tracker.CoreTracker] Tracking communication timed out.
10:11:28,609 WARN  [org.alfresco.solr.tracker.CoreTracker] Tracking communication timed out.

Have to use:
rm -rf /cygdrive/c/Alfresco/alf_data/solr/{workspace,archive}/SpacesStore/index
to get the directory removed.

Thanks.  Now to see if the indexes rebuild properly.


Reply all
Reply to author
Forward
0 new messages