Gsearch not indexing

54 views
Skip to first unread message

Danny_Joris

unread,
Nov 17, 2011, 10:02:09 AM11/17/11
to islandora
I've set up this VM in June and I managed to ingest about 7 demo
objects. I'm trying to add a few objects again, but they don't get
indexed into solr.

What can I do to debug this? I can access the following pages:
(meaning everything is up and running?)
http://localhost:8084/fedoragsearch/
http://localhost:8084/solr/admin/
http://localhost:8084/fedora/admin/

Serhiy Polyakov

unread,
Nov 17, 2011, 3:45:37 PM11/17/11
to isla...@googlegroups.com
Try manually:

http://localhost:8084/fedoragsearch/rest

See what you have:
browseIndex > Browse by PID

Try to update:
updateIndex > updateIndex fromFoxmFiles

Consider delete
updateIndex > updateIndex CreateEmpty (it may ask to stop Tomcat and
delete index manually though)

If these work than look if Fedora Messaging is on. Last thing is to
look at Solr index lock behavior (solr/conf/solrconfig.xml)

Serhiy

> --
> You received this message because you are subscribed to the Google Groups "islandora" group.
> To post to this group, send email to isla...@googlegroups.com.
> To unsubscribe from this group, send email to islandora+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/islandora?hl=en.
>
>

Danny_Joris

unread,
Nov 18, 2011, 10:11:14 AM11/18/11
to islandora
Thanks, I was able to index manually.

I think Fedora Messaging is on - I checked fedora.fcfg and found this:
<module role="org.fcrepo.server.messaging.Messaging"
class="org.fcrepo.server.messaging.MessagingModule">
<param name="enabled" value="true"/>

I'm not sure what the lock behaviour is all about in solrconfig.xml,
but I found these occurrences:
<lockType>single</lockType>
<unlockOnStartup>false</unlockOnStartup>

Danny

Serhiy Polyakov

unread,
Nov 18, 2011, 12:37:22 PM11/18/11
to isla...@googlegroups.com
Danny,

In Solr 1.4 I did not do anything about lock reconfigure and index
update worked.

Locking was only Solr 3.4 problem. I tried to alter options you
mentioned but it did not help in all modes (ingest/update/delete). So
in Solr 3.4 I had to uncomment
autoCommit
in solrconfig.xml

Serhiy

Danny_Joris

unread,
Nov 18, 2011, 1:08:49 PM11/18/11
to islandora
I'm running Solr 1.4

Danny

Serhiy Polyakov

unread,
Nov 18, 2011, 1:20:34 PM11/18/11
to isla...@googlegroups.com
Some other problem than. By the way indicator of locking problem to me
was appearance of "writelock" file or something like that in index
directory after ingesting an object via Islandora.

Serhiy

Reply all
Reply to author
Forward
0 new messages