solr will be aware of the updates, when you restart or perform a commit like

curl http://<hostname>:<port>/solr/update -H "Content-Type: text/xml" 
--data-binary '<commit waitFlush="false" waitSearcher="false"/>'
see http://wiki.apache.org/solr/UpdateXmlMessages?highlight=%28commit%29

Best,
Gert

On 22/11/2010, at 15.00, Benjamin Ryan wrote:

> Hi,
>  I am still trying to get the SOLR indexes updates when I Ingest/Purge/Update 
> objects.
>  From the log it seems that the message is passed and the correct update XML 
> doc is created.
>  There no are errors that I can see and the debug reports that there has been 
> 1 update.
>
>  When I try to search or use Luke to look at the index there are only the 
> default fields listed and no documents.
>
>  I have checked all the config files and cannot see where there is an error 
> or conflict.
>
>  Gsearch log  below.
>
> Regards,
>  Ben
>
> DEBUG 2010-11-20 09:39:02,123 (UpdateListener) Received Fedora Message: 
> ActiveMQTextMessage {commandId = 10, responseRequired = true, messageId = 
> ID:ben-50185-1290245702249-2:0:1:1:3, originalDestination = null, 
> originalTransactionId = null, producerId = 
> ID:ben-50185-1290245702249-2:0:1:1, destination = topic://fedora.apim.update, 
> transactionId = null, expiration = 0, timestamp = 1290245942119, arrival = 0, 
> brokerInTime = 1290245942120, brokerOutTime = 1290245942122, correlationId = 
> null, replyTo = null, persistent = true, type = null, priority = 4, groupID = 
> null, groupSequence = 0, targetConsumerId = null, compressed = false, userID 
> = null, content = 
> org.apache.activemq.util.byteseque...@47df5e<mailto:org.apache.activemq.util.byteseque...@47df5e>,
>  marshalledProperties = 
> org.apache.activemq.util.byteseque...@99d0fc<mailto:org.apache.activemq.util.byteseque...@99d0fc>,
>  dataStructure = null, redeliveryCounter = 0, size = 0, properties = null, 
> readOnlyProperties = true, readOn!
> lyBody = true, droppable = false, text = null}
> DEBUG 2010-11-20 09:39:02,124 (UpdateListener) Message Text: <?xml 
> version="1.0" encoding="UTF-8"?>
> <entry xmlns="http://www.w3.org/2005/Atom"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
> xmlns:fedora-types="http://www.fedora.info/definitions/1/0/types/";>
>  <id>urn:uuid:a5cb6178-39c5-4136-b1a0-5884b524fcf1</id>
>  <updated>2010-11-20T09:39:01.964Z</updated>
>  <author>
>    <name>fedoraAdmin</name>
>    <uri>http://localhost:8080/fedora</uri>
>  </author>
>  <title type="text">ingest</title>
>  <category term="Ingested from local file 
> C:\development\search\test_data\solr_ts_index_test.xml" 
> scheme="fedora-types:logMessage" label="xsd:string"></category>
>  <category term="info:fedora/fedora-system:METSFedoraExt-1.1" 
> scheme="fedora-types:format" label="xsd:string"></category>
>  <summary type="text">ts:SOLR_INDEX_UPDATE_TEST</summary>
>  <content type="text">ts:SOLR_INDEX_UPDATE_TEST</content>
>  <category term="3.4" 
> scheme="info:fedora/fedora-system:def/view#version"></category>
>  <category term="info:fedora/fedora-system:ATOM-APIM-1.0" 
> scheme="http://www.fedora.info/definitions/1/0/types/formatURI";></category>
> </entry>
> DEBUG 2010-11-20 09:39:02,126 (GenericOperationsImpl) updateIndex 
> action=fromPid value=ts:SOLR_INDEX_UPDATE_TEST repositoryName=DemoAtDtu 
> indexNames= indexDocXslt= resultPageXslt=
> DEBUG 2010-11-20 09:39:02,126 (Config) indexName=DemoOnSolr 
> operationsImpl=dk.defxws.fgssolr.OperationsImpl
> DEBUG 2010-11-20 09:39:02,127 (Config) operationsImplClass=class 
> dk.defxws.fgssolr.OperationsImpl
> DEBUG 2010-11-20 09:39:02,127 (Config) 
> ops=dk.defxws.fgssolr.operationsi...@18bdd29<mailto:ops=dk.defxws.fgssolr.operationsi...@18bdd29>
> DEBUG 2010-11-20 09:39:02,133 (OperationsImpl) getIndexReader 
> indexName=DemoOnSolr docCount=0
> INFO 2010-11-20 09:39:02,133 (GenericOperationsImpl) getFoxmlFromPid 
> pid=ts:SOLR_INDEX_UPDATE_TEST repositoryName=DemoAtDtu
> DEBUG 2010-11-20 09:39:02,175 (GTransformer) 
> xsltName=config/index/DemoOnSolr/demoFoxmlToSolr
> DEBUG 2010-11-20 09:39:02,189 (OperationsImpl) indexDoc=
> <?xml version="1.0" encoding="UTF-8"?>
> <add xmlns:uvalibadmin="http://dl.lib.virginia.edu/bin/admin/admin.dtd/"; 
> xmlns:uvalibdesc="http://dl.lib.virginia.edu/bin/dtd/descmeta/descmeta.dtd"; 
> xmlns:tsmd="http://www.timescapes.leeds.ac.uk"; 
> xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"; 
> 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/";>
> <doc boost="3.5"/>
> </add>
> DEBUG 2010-11-20 09:39:02,191 (OperationsImpl) getIndexReader 
> indexName=DemoOnSolr docCount=0
> DEBUG 2010-11-20 09:39:02,192 (OperationsImpl) closeIndexReader 
> indexName=DemoOnSolr docCount=0
> DEBUG 2010-11-20 09:39:02,192 (OperationsImpl) initDocCount=0 docCount=0 
> updateTotal=0
> INFO 2010-11-20 09:39:02,194 (OperationsImpl) updateIndex fromPid 
> indexName=DemoOnSolr indexDirSpace=499 docCount=0
> DEBUG 2010-11-20 09:39:02,194 (OperationsImpl) resultXml =
> <solrUpdateIndex indexName="DemoOnSolr">
> <counts insertTotal="0" updateTotal="0" deleteTotal="0" docCount="0" 
> warnCount="0"/>
> </solrUpdateIndex>
> DEBUG 2010-11-20 09:39:02,194 (GTransformer) 
> xsltName=config/index/DemoOnSolr/updateIndexToResultPage
> DEBUG 2010-11-20 09:39:02,200 (GenericOperationsImpl) resultXml=<?xml 
> version="1.0" encoding="UTF-8"?>
> <resultPage operation="updateIndex" action="fromPid" 
> value="ts:SOLR_INDEX_UPDATE_TEST" repositoryName="DemoAtDtu" indexNames="" 
> resultPageXslt="" dateTime="Sat Nov 20 09:39:02 GMT 2010">
> <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="0" 
> deleteTotal="0" updateTotal="0" insertTotal="0" indexName="DemoOnSolr"/>
> </resultPage>
> INFO 2010-11-20 09:39:02,200 (UpdateListener) Index updated by notification 
> message, returning:
> <?xml version="1.0" encoding="UTF-8"?>
> <resultPage operation="updateIndex" action="fromPid" 
> value="ts:SOLR_INDEX_UPDATE_TEST" repositoryName="DemoAtDtu" indexNames="" 
> resultPageXslt="" dateTime="Sat Nov 20 09:39:02 GMT 2010">
> <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="0" 
> deleteTotal="0" updateTotal="0" insertTotal="0" indexName="DemoOnSolr"/>
> </resultPage>
> DEBUG 2010-11-20 10:19:45,416 (UpdateListener) Received Fedora Message: 
> ActiveMQTextMessage {commandId = 15, responseRequired = true, messageId = 
> ID:ben-50185-1290245702249-2:0:1:1:4, originalDestination = null, 
> originalTransactionId = null, producerId = 
> ID:ben-50185-1290245702249-2:0:1:1, destination = topic://fedora.apim.update, 
> transactionId = null, expiration = 0, timestamp = 1290248385384, arrival = 0, 
> brokerInTime = 1290248385384, brokerOutTime = 1290248385414, correlationId = 
> null, replyTo = null, persistent = true, type = null, priority = 4, groupID = 
> null, groupSequence = 0, targetConsumerId = null, compressed = false, userID 
> = null, content = 
> org.apache.activemq.util.byteseque...@1b64568<mailto:org.apache.activemq.util.byteseque...@1b64568>,
>  marshalledProperties = 
> org.apache.activemq.util.byteseque...@186b4d9<mailto:org.apache.activemq.util.byteseque...@186b4d9>,
>  dataStructure = null, redeliveryCounter = 0, size = 0, properties = null, 
> readOnlyProperties = true, re!
> adOnlyBody = true, droppable = false, text = null}
> DEBUG 2010-11-20 10:19:45,416 (UpdateListener) Message Text: <?xml 
> version="1.0" encoding="UTF-8"?>
> <entry xmlns="http://www.w3.org/2005/Atom"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
> xmlns:fedora-types="http://www.fedora.info/definitions/1/0/types/";>
>  <id>urn:uuid:cece3d08-0d02-4af4-ab0a-a25890b370a9</id>
>  <updated>2010-11-20T10:19:45.274Z</updated>
>  <author>
>    <name>fedoraAdmin</name>
>    <uri>http://localhost:8080/fedora</uri>
>  </author>
>  <title type="text">modifyObject</title>
>  <category term="ts:SOLR_INDEX_UPDATE_TEST" scheme="fedora-types:pid" 
> label="xsd:string"></category>
>  <category term="A" scheme="fedora-types:state" label="xsd:string"></category>
>  <category term="Siblings and Friends: Felix - Family and Friends Circle Map 
> 2003 - N100AC_Felix_MD" scheme="fedora-types:label" 
> label="xsd:string"></category>
>  <category term="ghjg" scheme="fedora-types:logMessage" 
> label="xsd:string"></category>
>  <summary type="text">ts:SOLR_INDEX_UPDATE_TEST</summary>
>  <content type="text">2010-11-20T10:19:45.27Z</content>
>  <category term="3.4" 
> scheme="info:fedora/fedora-system:def/view#version"></category>
>  <category term="info:fedora/fedora-system:ATOM-APIM-1.0" 
> scheme="http://www.fedora.info/definitions/1/0/types/formatURI";></category>
> </entry>
> DEBUG 2010-11-20 10:19:45,418 (GenericOperationsImpl) updateIndex 
> action=fromPid value=ts:SOLR_INDEX_UPDATE_TEST repositoryName=DemoAtDtu 
> indexNames= indexDocXslt= resultPageXslt=
> DEBUG 2010-11-20 10:19:45,419 (Config) indexName=DemoOnSolr 
> operationsImpl=dk.defxws.fgssolr.OperationsImpl
> DEBUG 2010-11-20 10:19:45,419 (Config) operationsImplClass=class 
> dk.defxws.fgssolr.OperationsImpl
> DEBUG 2010-11-20 10:19:45,419 (Config) 
> ops=dk.defxws.fgssolr.operationsi...@10f6b5e<mailto:ops=dk.defxws.fgssolr.operationsi...@10f6b5e>
> DEBUG 2010-11-20 10:19:45,427 (OperationsImpl) getIndexReader 
> indexName=DemoOnSolr docCount=0
> INFO 2010-11-20 10:19:45,427 (GenericOperationsImpl) getFoxmlFromPid 
> pid=ts:SOLR_INDEX_UPDATE_TEST repositoryName=DemoAtDtu
> DEBUG 2010-11-20 10:19:45,496 (GTransformer) 
> xsltName=config/index/DemoOnSolr/demoFoxmlToSolr
> DEBUG 2010-11-20 10:19:45,516 (OperationsImpl) indexDoc=
> <?xml version="1.0" encoding="UTF-8"?>
> <add xmlns:uvalibadmin="http://dl.lib.virginia.edu/bin/admin/admin.dtd/"; 
> xmlns:uvalibdesc="http://dl.lib.virginia.edu/bin/dtd/descmeta/descmeta.dtd"; 
> xmlns:tsmd="http://www.timescapes.leeds.ac.uk"; 
> xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"; 
> 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/";>
> <doc boost="3.5">
> <field boost="2.5" name="PID">ts:SOLR_INDEX_UPDATE_TEST</field>
> <field name="fgs.state">Active</field>
> <field name="fgs.label">Siblings and Friends: Felix - Family and Friends 
> Circle Map 2003 - N100AC_Felix_MD</field>
> <field name="fgs.ownerId">fedoraAdmin</field>
> <field name="fgs.createdDate">2010-11-20T09:39:01.962Z</field>
> <field name="fgs.lastModifiedDate">2010-11-20T10:19:45.270Z</field>
> <field name="dc.title">METS 1.1 Reference Object</field>
> <field name="dc.creator">Sandy Payette</field>
> <field name="dc.subject">Fedora documentation</field>
> <field name="dc.description">METS 1.1 showing how a digital object is encoded 
> in METS Fedora
> Extension 1.1</field>
> <field name="dc.publisher">Cornell CIS</field>
> <field name="dc.identifier">ts:SOLR_INDEX_UPDATE_TEST</field>
> <field name="tsmd.project">Siblings and Friends</field>
> <field name="tsmd.fieldworkerID">Helen Lucey</field>
> <field name="tsmd.gender">Male</field>
> <field name="tsmd.caseID">Felix</field>
> <field name="tsmd.ageGroup">10-19</field>
> <field name="tsmd.dateOfBirth">1993</field>
> <field name="tsmd.ethnicity">White British</field>
> <field name="tsmd.dataType">Image</field>
> <field name="tsmd.fieldworkDate">2003-02-12</field>
> <field name="tsmd.socialClass">Full Time Students</field>
> <field name="tsmd.maritalStatus">Has never been married</field>
> <field name="tsmd.location">South-East England</field>
> <field name="tsmd.title">Siblings and Friends: Felix - Family and Friends 
> Circle Map 2003</field>
> <field name="tsmd.description">Siblings and Friends: Felix - Wave One Family 
> and Friends Circle Map 2003</field>
> <field name="tsmd.note">Please note that the transcript includes several 
> commentaries within the narrative. I have italicized these and placed them in 
> [  ] to differentiate them. I am unsure as to their authorship.</field>
> <field name="tsmd.subject">Male; Family; Friends; Other People</field>
> <field name="tsmd.isPartOf">05200562-bb41-4245-ad8d-eb7b36f551a0</field>
> <field name="tsmd.isPartOf">93ccfefb-247f-48b4-a8bd-cec2922d471e</field>
> <field name="tsmd.isPartOf">85645acb-44ae-483e-8571-f9c36fb8087e</field>
> </doc>
> </add>
> DEBUG 2010-11-20 10:19:45,680 (OperationsImpl) getIndexReader 
> indexName=DemoOnSolr docCount=0
> DEBUG 2010-11-20 10:19:45,680 (OperationsImpl) closeIndexReader 
> indexName=DemoOnSolr docCount=0
> DEBUG 2010-11-20 10:19:45,680 (OperationsImpl) initDocCount=0 docCount=0 
> updateTotal=1
> INFO 2010-11-20 10:19:45,684 (OperationsImpl) updateIndex fromPid 
> indexName=DemoOnSolr indexDirSpace=499 docCount=0
> DEBUG 2010-11-20 10:19:45,684 (OperationsImpl) resultXml =
> <solrUpdateIndex indexName="DemoOnSolr">
> <counts insertTotal="0" updateTotal="1" deleteTotal="0" docCount="0" 
> warnCount="0"/>
> </solrUpdateIndex>
> DEBUG 2010-11-20 10:19:45,684 (GTransformer) 
> xsltName=config/index/DemoOnSolr/updateIndexToResultPage
> DEBUG 2010-11-20 10:19:45,691 (GenericOperationsImpl) resultXml=<?xml 
> version="1.0" encoding="UTF-8"?>
> <resultPage operation="updateIndex" action="fromPid" 
> value="ts:SOLR_INDEX_UPDATE_TEST" repositoryName="DemoAtDtu" indexNames="" 
> resultPageXslt="" dateTime="Sat Nov 20 10:19:45 GMT 2010">
> <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="0" 
> deleteTotal="0" updateTotal="1" insertTotal="0" indexName="DemoOnSolr"/>
> </resultPage>
> INFO 2010-11-20 10:19:45,691 (UpdateListener) Index updated by notification 
> message, returning:
> <?xml version="1.0" encoding="UTF-8"?>
> <resultPage operation="updateIndex" action="fromPid" 
> value="ts:SOLR_INDEX_UPDATE_TEST" repositoryName="DemoAtDtu" indexNames="" 
> resultPageXslt="" dateTime="Sat Nov 20 10:19:45 GMT 2010">
> <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="0" 
> deleteTotal="0" updateTotal="1" insertTotal="0" indexName="DemoOnSolr"/>
> </resultPage>
>
> ---------------------------------------------------------------------
> Dr Ben Ryan
> Timescapes Archive Technical Officer
> School of Sociology and Social Policy
> Faculty of Education, Social Sciences and Law
> Social Science Building
> The University of Leeds
> Leeds LS2 9JT
> Email: b.r...@leeds.ac.uk<mailto:b.r...@leeds.ac.uk>
> Tel: 0113 343 7319
> Website: http://www.timescapes.leeds.ac.uk<http://www.timescapes.leeds.ac.uk/>
> ---------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to