Islandora Solr metadata display error

83 views
Skip to first unread message

A L

unread,
Sep 21, 2015, 12:30:00 PM9/21/15
to islandora
Hi,

I am using Islandora 7.1.3 version with Basic Image Solution Pack

I created a new expanded DC datastream under a new datastream ID called "Expanded-DC" by adding some custom fields. I updated FOXMLtoSOLR stylesheet to reflect those new fields in Solr index. 

Using Solr Metadata Display, I am displaying those Solr fields under "Details" section of every image. Since the time I changed the default "DC" fields display to "Solr Metadata Display", I am getting the following error upon ingest (actuall error screenshot attached) and also field values on "Details"section are all blank.

Error message

  • Unable to find islandora:27564 object in the Solr index. Contact the administrator!
  • Unable to find islandora:27564 object in the Solr index. Contact the administrator!
  • Unable to find islandora:27564 object in the Solr index. Contact the administrator!
  • Unable to find islandora:27564 object in the Solr index. Contact the administrator!

When I re-index the FOXML of that particular object, it displays all the field values on the "Details" section perfectly without being blank. I am unable to figure out the disconnect. Something GSearch is not detecting things right. Please help!!!!!!

 
errorOnIngest.PNG

Jordan Dukart

unread,
Sep 21, 2015, 12:50:45 PM9/21/15
to isla...@googlegroups.com
Not a bug, it was a warning/error message that was displayed for when an object had yet to hit the Solr index after it was ingested. Depending on how bogged down GSearch is at the time there may be a disconnect until it gets indexed. Since 7.1.3 the text has been updated to be less ominous towards the end user: https://github.com/Islandora/islandora_solr_metadata/blob/7.x/theme/theme.inc#L84

Jordan
--
For more information about using this group, please read our Listserv Guidelines: http://islandora.ca/content/welcome-islandora-listserv
---
You received this message because you are subscribed to the Google Groups "islandora" group.
To unsubscribe from this group and stop receiving emails from it, send an email to islandora+...@googlegroups.com.
Visit this group at http://groups.google.com/group/islandora.
To view this discussion on the web visit https://groups.google.com/d/msgid/islandora/a87dafa1-fb8b-42cc-b712-75d46fe1bce9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

A L

unread,
Sep 21, 2015, 1:13:53 PM9/21/15
to islandora
Thanks, Jordan! What is the best to "cleanup" the GSearch to function properly without being bogged down and not loosing the current index?

Diego Pino

unread,
Sep 22, 2015, 3:29:28 PM9/22/15
to islandora
Hi, most likely your problem is related to how your commits (hard commits and soft commits) are configured for your particular collection in Solr and not necessarily (but not excluding!) to gsearch being slow.
In short: in Solr (4.x-5.x) soft commits are a way to make new documents available to queries without having to wait for solr to store them on disk (they work on memory). Hard commits is the definitive storage in the physical index (disk). There are also some update logs in place (solr is clever!) that allow solr to recover documents even when they where not yet in the physical index, you can read more if you feel interest, solr is a complete  complex and beautiful world.
So back to your problem: probably your documents are waiting to be committed to disk and not available to current or new searchers.
You can fine tune this settings in your solrconfig.xml inside your solr installation folder /collectioname/conf
The idea is to find a combination of soft and hard commits that allow you to make the user feel searches as "realtime" by also avoid excessive overheard to your solr instance and securing a minimum safe interal for hard commits so your index is stable in case something bad happens. 

Here are some links to help you getting started. 
Reply all
Reply to author
Forward
0 new messages