Hi Chris, I did never tried the Nutch integration so I can't help with that. However I'll try to repeat your same setup and will let you know what it comes out for me.
Tommaso 2012/3/28 chris3001 <chrislia...@hotmail.com> > Still not getting there on Solr with UIMA... > Has anyone taken example 1 (RoomAnnotator) and successfully tested this by > any chance? > > Thanks to Tommaso my curl statement has changed to /update: > > curl http://localhost:8080/solr/update?commit=true -H "Content-Type: > text/xml" --data-binary '<add><doc><field name="id">4</field><field > name="content">Test Room HAW GN-K35</field></doc></add>' > > Next- my solrconfig has these two parts: > Part1: > <requestHandler name="/update" class="solr.XmlUpdateRequestHandler"> > <lst name="defaults"> > <str name="update.processor">uima</str> > </lst> > </requestHandler> > > Part2: > <updateRequestProcessorChain name="uima"> > <processor > class="org.apache.solr.uima.processor.UIMAUpdateRequestProcessorFactory"> > <lst name="uimaConfig"> > <lst name="runtimeParameters"> > </lst> > <str > > name="analysisEngine">C:\uima\examples\descriptors\tutorial\ex1\RoomNumberAnnotator.xml</str> > <bool name="ignoreErrors">true</bool> > <str name="logField">id</str> > <lst name="analyzeFields"> > <bool name="merge">false</bool> > <arr name="fields"> > <str>content</str> > </arr> > </lst> > <lst name="fieldMappings"> > <lst name="type"> > <str name="name">org.apache.uima.tutorial.RoomNumber</str> > <lst name="mapping"> > <str name="feature">building</str> > <str name="field">UIMAname</str> > </lst> > </lst> > </lst> > </lst> > </processor> > <processor class="solr.LogUpdateProcessorFactory" /> > <processor class="solr.RunUpdateProcessorFactory" /> > </updateRequestProcessorChain> > > Finally, my schema.xml: > > <field name="UIMAname" type="string" indexed="true" stored="true" > multiValued="true" required="false"/> > > When I run this example AE XML Descriptor in the Document Analyzer I see > the > token GN-K35 highlighted. However, when I try integrating into Solr using > above settings and search for *:* in: http://localhost:8080/solr/admin/ I > do > not see the UIMAname tag at all. Nor with any data (namely, GN-K35 in this > example). > > Thank you for your time in reading this. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-with-UIMA-tp3863324p3864810.html > Sent from the Solr - User mailing list archive at Nabble.com. >