lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Della Bitta <michael.della.bi...@appinions.com>
Subject Re: Collection not current after insert
Date Tue, 23 Jul 2013 17:34:45 GMT
Hi Alistair,

You probably need a commit, and not an optimize.

Which version of Solr are you running against? The 4.0 releases have more
complications, but generally sending a commit will do. Not sure if GSearch
sends one, only partly because I never was able to make it work. :)


Michael Della Bitta

Applications Developer

o: +1 646 532 3062  | c: +1 917 477 7906

appinions inc.

“The Science of Influence Marketing”

18 East 41st Street

New York, NY 10017

t: @appinions <https://twitter.com/Appinions> | g+:
plus.google.com/appinions
w: appinions.com <http://www.appinions.com/>


On Tue, Jul 23, 2013 at 9:57 AM, Alistair Young <alistair.young@uhi.ac.uk>wrote:

> Hi there,
>
> My Solr is being fed by Fedora GSearch and when uploading a new resource,
> the Collection is optimized but not current so the new resource can't be
> found. I have to go to the Core Admin page and Optimize it from there, in
> order to make the collection current. Is there anything I should look for
> to see what the problem is? This is the comms to solr when inserting:
>
> DEBUG 2013-07-23 13:27:37,023 (OperationsImpl) resultXml =
> <solrUpdateIndex indexName="FgsIndex">
> <inserted>ltk:13000116</inserted>
> <counts insertTotal="1" updateTotal="0" deleteTotal="0" emptyTotal="0"
> docCount="854" warnCount="0"/>
> </solrUpdateIndex>
>
> DEBUG 2013-07-23 13:27:37,023 (GTransformer)
> xsltName=fgsconfigFinal/index/FgsIndex/updateIndexToResultPage
> DEBUG 2013-07-23 13:27:37,027 (GTransformer) getTransformer
> transformer=org.apache.xalan.transformer.TransformerImpl@6561b973uriResolver=null
> DEBUG 2013-07-23 13:27:37,028 (GenericOperationsImpl) resultXml=<?xml
> version="1.0" encoding="UTF-8"?>
> <resultPage operation="updateIndex" action="fromPid" value="ltk:13000116"
> repositoryName="FgsRepos" indexNames="" resultPageXslt="" dateTime="Tue Jul
> 23 13:27:36 UTC 2013">
> <updateIndex xmlns:dc="http://purl.org/dc/elements/1.1/"
> xmlns:foxml="info:fedora/fedora-system:def/foxml#" xmlns:zs="
> http://www.loc.gov/zing/srw/" warnCount="0" docCount="854"
> deleteTotal="0" updateTotal="0" insertTotal="1" indexName="FgsIndex"/>
> </resultPage>
>
> INFO 2013-07-23 13:27:37,028 (UpdateListener) Index updated by
> notification message, returning:
> <?xml version="1.0" encoding="UTF-8"?>
> <resultPage operation="updateIndex" action="fromPid" value="ltk:13000116"
> repositoryName="FgsRepos" indexNames="" resultPageXslt="" dateTime="Tue Jul
> 23 13:27:36 UTC 2013">
> <updateIndex xmlns:dc="http://purl.org/dc/elements/1.1/"
> xmlns:foxml="info:fedora/fedora-system:def/foxml#" xmlns:zs="
> http://www.loc.gov/zing/srw/" warnCount="0" docCount="854"
> deleteTotal="0" updateTotal="0" insertTotal="1" indexName="FgsIndex"/>
> </resultPage>
>
> thanks,
>
> Alistair
>
> --
> mov eax,1
> mov ebx,0
> int 80h
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message