*puts hand up*
That is our config file :-)
What is not actually live in the solrconfig.xml file is the 'autoCommit'
section I added from this thread[1]. That will get you the autocommits
you're looking for.
-nruest
[1]
https://groups.google.com/d/msg/islandora/cXKqZs2WBGo/lSl7VYinK0sJ
On 14-02-05 02:34 PM, slanger wrote:
> *Fedora 3.5, Solr 3.6.1, GSearch 2.4.2*
>
> I downloaded the config files located at
> _
https://github.com/discoverygarden/basic-solr-config_ as Jordan
> suggested. Once they were in place, I received a few warnings about
> the solrconfig.xml file, saying that <indexDefaults> and <mainIndex>
> were deprecated and that it was missing <luceneMatchVersion>.
> Perhaps this /basic-solr-config/ bundle is for an earlier version of
> Solr/GSearch than what I'm using? The README.md actually doesn't say
> what it's compatible with. That said, I was able to update the
> solrconfig.xml file with the recommended changes and make the
> warnings go away.
>
> The /islandora_transforms/ directory was completely new to my setup,
> as was the /dgi_gsearch_extensions/ JAR. I updated the paths in
> "index.properties", "foxmlToSolr.xslt" and
> "slurp_all_MODS_to_solr.xslt" to match my directory structure.
>
> The verdict? The Internet Archive BookReader search now works! --
> but only after I manually reindex the site. Unfortunately, automatic
> indexing upon ingest still isn't working in Fedora 3.5.
>
> *Fedora 3.6.2, Solr 4.2.0, GSearch 2.6*
>
> Here's a twist: I found the York University Library's version of
> those config files, which _this blog post_
> <
http://islandora.ca/content/more-long-tail-modules> says is for
> GSearch 2.6 & Solr 4.2.0 (perhaps that should be mentioned in the
> README.md file as well?). I upgraded Fedora, Solr and GSearch to the
> appropriate versions, then put those config files in place and
> updated paths in the appropriate files. Behold! Both automatic
> indexing upon ingest and the Internet Archive BookReader search work
> -- although I'm now encountering a bunch of problems with the ingest
> process itself and the Fedora Web Administrator is acting weird.
>
> *Questions*
>
> Can you think of anything unique that the York University Library's
> /basic-solr-config/ bundle has that would help it achieve automatic
> indexing? Right now, my Fedora 3.5 installation is much faster and
> more stable, so if I can get automatic indexing to work there, I'll
> stick with that one.
>
> Any other thoughts / recommendations?
>
> Thanks!
>
> On Wednesday, February 5, 2014 2:34:22 PM UTC-5, slanger wrote:
>
> Thanks for your suggestions, Everyone!
>
> Peter: I compared my /Solr Settings/ with the Islandora sandbox site
> beforehand and they exactly matched. I doublechecked and that's
> still the case.
>
> On Thursday, January 30, 2014 5:15:53 PM UTC-5, Peter MacDonald wrote:
>
> slanger:
> You might benefit by logging into
http://sandbox.islandora.ca as
> admin/islandora and looking at the Solr Settings menu for how
> they set it up there.
> Administer > Islandora > Solr Index > Solr Settings
> Peter
> On Thu, Jan 30, 2014 at 3:15 PM, slanger <
slan...@gmail.com> wrote:
>
> Thanks for your response, Jordan! We're pretty much using
> the defaults that came with the module.
> /Solr field relating pages to book PIDs/ =
> RELS_EXT_isMemberOf_uri_ms
> I'll admit to being a bit of a Solr n00b. Is that just a
> placeholder? If so, where would I find the correct value?
> Thanks!
> On Thursday, January 30, 2014 1:34:48 PM UTC-5, Jordan
> Dukart wrote:
>
> The searching within IAV relies upon the Solr field
> that's configured in
> yoursite/admin/islandora/__internet_archive_bookreader.
> Is it mapped to the correct field?
> Jordan
> On 1/30/2014, 2:15 PM, slanger wrote:
>> Here's another Solr/GSearch symptom that we're
>> experiencing, in case it offers additional insight
>> into our larger problem (Hopefully, this doesn't end
>> up muddying the waters):
>> When we search inside a book via the Internet Archive
>> BookReader for a term that we know should be there, it
>> always returns the message "No matches were found."
>> The "OCR" and "HOCR" datastreams are being
>> successfully created upon ingest and are populated
>> with text. This problem continues to happen even after
>> manually reindexing the site via the Admin Client for
>> Fedora Generic Search Service interface.
>> I bring it up because I can see in the logs that the
>> book reader is successfully requesting data from Solr,
>> but no data is being returned. Perhaps it, too, is not
>> getting indexed?
>> |
>> INFO:[]webapp=/solr
>> path=/selectparams={hl.fragsize=18&hl.tag.__post=}}}&hl.tag.pre={{{&hl.fl=__text_nodes_HOCR_hlt&
json.nl=ma__p&wt=json&hl=true&rows=32&vers__ion=1.2&defType=dismax&fl=PID,__RELS_EXT_isSequenceNumber___literal_ms&hl.snippets=8&hl.us__eFastVectorHighlighter=true&st__art=0&q=the&qt=standardfq=RELS___EXT_isMemberOf_uri_ms:("info:__fedora/islandora:87"+OR+"__islandora:87")}hits=0status=0QTime=16
>> |
>> Again, I'm not sure if this provides any insight into
>> the larger Solr/GSearch problem that we're
>> experiencing; but I thought I'd throw it out there.
>> We'll happily accept solutions to either issue. :-)
>> On Monday, January 27, 2014 11:55:14 AM UTC-5, slanger
>> wrote:
>>
>> *Problem:* When I successfully ingest an object
>> into Fedora (via Islandora), it is not getting
>> automatically indexed in Solr. However, if I index
>> the site manually
>> (
http://localhost:8080/__fedoragsearch/rest?operation=__updateIndex
>> * Fedora 3.5
>> * Solr 3.6.1
>> * Fedora Generic Search Service 2.4.2
>> * Java 1.6.0_45
>>
>> In the file /fedora/server/config/fedora.__fcfg,
>> the Java Messaging Service (JMS) module is enabled:
>> |
>> <modulerole="org.fcrepo.server.__messaging.Messaging"class="org.fcrepo.server.__messaging.MessagingModule">
>> <comment>Fedora's Java Messaging Service (JMS)
>> Module</comment>
>> <paramname="enabled"value="true"/>
>> <paramname="java.naming.factory.__initial"value="org.apache.activemq.__jndi.__ActiveMQInitialContextFactory"__/>
>> <paramname="java.naming.provider.__url"value="vm:(broker:(tcp://__localhost:61616))"/>
>> <paramname="datastore1"value="apimUpdateMessages">
>> <comment>A datastore representing a JMS
>> Destination for APIM events which update the
>> repository</comment>
>> </param>
>> <paramname="datastore2"value="apimAccessMessages">
>> <comment>A datastore representing a JMS
>> Destination for APIM events which do not update
>> the repository</comment>
>> </param>
>> </module>
>> |
>> I'm not seeing any errors in my Catalina log files
>> when Fedora is starting up. When I manually
>> reindex the site (via the GSearch Admin Client), I
>> can see several commit messages being logged,
>> which (as I understand it) signals that the object
>> is getting indexed. However, when I ingest an
>> object via Islandora and look at the logs, those
>> commit messages are absent.
>> Here is an example of what I see in the logs after
>> ingesting an object via Islandora:
>>
>> * Jan 27, 2014 12:09:59 PM
>> org.apache.solr.core.SolrCore execute
>> INFO: [] webapp=/solr path=/select
>> params={fl=PID,+dc.title,dc.__description,dc.date,dc.__subject,dc.contributor&q=PID:"__islandora:30"&
json.nl
>> <
http://json.nl>=map&wt=__json&version=1.2}
>> hits=0 status=0 QTime=15
>> * Jan 27, 2014 12:09:59 PM
>> org.apache.solr.core.SolrCore execute
>> INFO: [] webapp=/solr path=/select
>> params={fl=PID,+dc.__description&q=PID:"islandora:__30"&
json.nl
>> <
http://json.nl>=map&wt=json&__version=1.2}
>> hits=0 status=0 QTime=0
>>
>> Any idea where I should start looking to
>> troubleshoot this problem?
>> Thanks!
>>
>> --
>> 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.
>> For more options, visit
>>
https://groups.google.com/__groups/opt_out
>> <
https://groups.google.com/groups/opt_out>.
> <
https://groups.google.com/groups/opt_out>.
>
> --
> Library Information Systems Specialist
> Hamilton College Library
> Clinton, New York
>