I am trying to install Solr search. I downloaded the plugin from Github and successfully installed it. I copied the Omeka Core to Solr - I am using the multicore example install. According to the Solr Admin, the core is appears to be loaded correctly.
I then updated the settings for Solr in the Admin Panel, setting it to the correct host (localhost) and port - the feedback is that the connection is valid. However, when I try to re-index the pages, nothing happens, no index is being created. When I check the Omeka Solr core, I can see that a tlog file gets created every time I try to reindex, but no data gets written to the index folder itself. I first thought that it might be problem with write permissions, but even when I set the permissions to 777 on the index folder and its content, still nothing appears to be getting indexed.
INFO - 2014-05-29 11:24:24.873; org.apache.solr.update.DirectUpdateHandler2; No uncommitted changes. Skipping IW.commit.
INFO - 2014-05-29 11:24:24.873; org.apache.solr.core.SolrCore; SolrIndexSearcher has not changed - not re-opening: org.apache.solr.search.SolrIndexSearcher
INFO - 2014-05-29 11:24:24.873; org.apache.solr.update.DirectUpdateHandler2; end_commit_flush
INFO - 2014-05-29 11:24:24.874; org.apache.solr.update.processor.LogUpdateProcessor; [omeka] webapp=/solr path=/update params={wt=json} {commit=} 0 2
INFO - 2014-05-29 11:24:24.875; org.apache.solr.update.DirectUpdateHandler2; start commit{,optimize=true,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false}
INFO - 2014-05-29 11:24:24.875; org.apache.solr.update.DirectUpdateHandler2; No uncommitted changes. Skipping IW.commit.
INFO - 2014-05-29 11:24:24.876; org.apache.solr.core.SolrCore; SolrIndexSearcher has not changed - not re-opening: org.apache.solr.search.SolrIndexSearcher
INFO - 2014-05-29 11:24:24.876; org.apache.solr.update.DirectUpdateHandler2; end_commit_flush
INFO - 2014-05-29 11:24:24.876; org.apache.solr.update.processor.LogUpdateProcessor; [omeka] webapp=/solr path=/update params={wt=json} {optimize=} 0 1
INFO - 2014-05-29 11:24:24.891; org.apache.solr.update.processor.LogUpdateProcessor; [omeka] webapp=/solr path=/update params={wt=json} {} 0 0
INFO - 2014-05-29 11:24:24.893; org.apache.solr.update.DirectUpdateHandler2; start commit{,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false}
INFO - 2014-05-29 11:24:24.893; org.apache.solr.update.DirectUpdateHandler2; No uncommitted changes. Skipping IW.commit.
INFO - 2014-05-29 11:24:24.893; org.apache.solr.core.SolrCore; SolrIndexSearcher has not changed - not re-opening: org.apache.solr.search.SolrIndexSearcher
INFO - 2014-05-29 11:24:24.894; org.apache.solr.update.DirectUpdateHandler2; end_commit_flush
INFO - 2014-05-29 11:24:24.894; org.apache.solr.update.processor.LogUpdateProcessor; [omeka] webapp=/solr path=/update params={wt=json} {commit=} 0 1
INFO - 2014-05-29 11:24:24.895; org.apache.solr.update.DirectUpdateHandler2; start commit{,optimize=true,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false}
INFO - 2014-05-29 11:24:24.895; org.apache.solr.update.DirectUpdateHandler2; No uncommitted changes. Skipping IW.commit.
INFO - 2014-05-29 11:24:24.896; org.apache.solr.core.SolrCore; SolrIndexSearcher has not changed - not re-opening: org.apache.solr.search.SolrIndexSearcher
INFO - 2014-05-29 11:24:24.896; org.apache.solr.update.DirectUpdateHandler2; end_commit_flush
INFO - 2014-05-29 11:24:24.896; org.apache.solr.update.processor.LogUpdateProcessor; [omeka] webapp=/solr path=/update params={wt=json} {optimize=} 0 1
And here is when I try to run a query - which returns an empty result, even though the term is related to some items.
INFO - 2014-05-29 11:25:05.624; org.apache.solr.request.UnInvertedField; UnInverted multi-valued field {field=tag,memSize=4288,tindexSize=0,time=0,phase1=0,nTerms=0,bigTerms=0,termInstances=0,uses=0}
INFO - 2014-05-29 11:25:05.628; org.apache.solr.request.UnInvertedField; UnInverted multi-valued field {field=58_s,memSize=4288,tindexSize=0,time=0,phase1=0,nTerms=0,bigTerms=0,termInstances=0,uses=0}
INFO - 2014-05-29 11:25:05.635; org.apache.solr.core.SolrCore; [omeka] webapp=/solr path=/select params={hl.fragsize=250&facet=true&facet.mincount=1&facet.limit=25&hl.fl=*_t&json.nl=map&wt=json&hl=true&rows=10&hl.snippets=1&start=0&facet.sort=count&q=Winter+Issue+1950-1951&facet.field=tag&facet.field=collection&facet.field=itemtype&facet.field=resulttype&facet.field=58_s} hits=0 status=0 QTime=32 INFO - 2014-05-29 11:25:07.339; org.apache.solr.core.SolrCore; [omeka] webapp=/solr path=/select params={hl.fragsize=250&facet=true&facet.mincount=1&facet.limit=25&hl.fl=*_t&json.nl=map&wt=json&hl=true&rows=10&hl.snippets=1&start=0&facet.sort=count&q=Winter+Issue+1950-1951&facet.field=tag&facet.field=collection&facet.field=itemtype&facet.field=resulttype&facet.field=58_s} hits=0 status=0 QTime=2