Hi Peter,
Umfprtunately I deleted your first email where you wrote a piece of your
schema...the problem seems to be "cat_name" and not cat_name_raw...could
you please post again your schema?
 On 3 Jan 2014 13:40, "PeterKerk" <vettepa...@hotmail.com> wrote:

> Hi Andrea,
>
> You were right, I do see errors when setting the required=true
> attribute...what can it be?
>
>
> Logging console homepage:
>
> 13:31:54
> WARN
> SolrWriter
> Error creating document : SolrInputDocument[comment_status=open,
> post_content=algemeen kpn artikeltje ook over vodafone,
> guid=http://www.telefonievergelijken.nl/wordpress/?p=20, post_excerpt=,
> id=20, post_author=1, post_modified=2014-01-02 14:24:28.0,
> post_name=kpn-en-vodafone, post_title=KPN en Vodafone,
> imgurl=http://www.talkman.nl/wordpress/wp-content/uploads/2013/11/taj.png,
> 
> post_date=2013-12-13 14:12:17.0]
>
> Console errors:
>
> 36588 [Thread-15] WARN  org.apache.solr.handler.dataimport.SolrWriter  û
> Error c
> reating document : SolrInputDocument[comment_status=open,
> post_content=algemeen
> kpn artikeltje ook over vodafone,
> guid=http://www.telefonievergelijken.nl/wordpr
> ess/?p=20, post_excerpt=, id=20, post_author=1, post_modified=2014-01-02
> 14:24:2
> 8.0, post_name=kpn-en-vodafone, post_title=KPN en Vodafone,
> imgurl=http://www.ta
> lkman.nl/wordpress/wp-content/uploads/2013/11/taj.png,
> post_date=2013-12-13
> 14:1
> 2:17.0]
> org.apache.solr.common.SolrException: [doc=20] missing required field:
> cat_name
>         at
> org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.jav
> a:328)
>         at
> org.apache.solr.update.AddUpdateCommand.getLuceneDocument(AddUpdateCo
> mmand.java:73)
>         at
> org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandle
> r2.java:208)
>         at
> org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpd
> ateProcessorFactory.java:69)
>         at
> org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(Up
> dateRequestProcessor.java:51)
>         at
> org.apache.solr.update.processor.DistributedUpdateProcessor.versionAd
> d(DistributedUpdateProcessor.java:545)
>         at
> org.apache.solr.update.processor.DistributedUpdateProcessor.processAd
> d(DistributedUpdateProcessor.java:398)
>         at
> org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpd
> ateProcessorFactory.java:100)
>         at
> org.apache.solr.handler.dataimport.SolrWriter.upload(SolrWriter.java:
> 70)
>         at
> org.apache.solr.handler.dataimport.DataImportHandler$1.upload(DataImp
> ortHandler.java:235)
>         at
> org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilde
> r.java:500)
>         at
> org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilde
> r.java:404)
>         at
> org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.j
> ava:319)
>         at
> org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java
> :227)
>         at
> org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImpo
> rter.java:422)
>         at
> org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.j
> ava:487)
>         at
> org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.ja
> va:468)
> 36596 [Thread-15] INFO  org.apache.solr.handler.dataimport.DocBuilder  û
> Import
> completed successfully
> 36596 [Thread-15] INFO  org.apache.solr.update.UpdateHandler  û start
> commit{,op
>
> timize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit
> =false,prepareCommit=false}
> 36601 [Thread-15] INFO  org.apache.solr.core.SolrCore  û
> SolrDeletionPolicy.onCo
> mmit: commits:num=2
>
> commit{dir=NRTCachingDirectory(org.apache.lucene.store.SimpleFSDirectory
>
> @C:\Dropbox\Databases\solr-4.3.1\example\example-DIH\solr\tv-wordpress\data\inde
> x lockFactory=org.apache.lucene.store.SingleInstanceLockFactory@1836cd1;
> maxCach
> eMB=48.0
> maxMergeSizeMB=4.0),segFN=segments_4o,generation=168,filenames=[segment
> s_4o]
>
> commit{dir=NRTCachingDirectory(org.apache.lucene.store.SimpleFSDirectory
>
> @C:\Dropbox\Databases\solr-4.3.1\example\example-DIH\solr\tv-wordpress\data\inde
> x lockFactory=org.apache.lucene.store.SingleInstanceLockFactory@1836cd1;
> maxCach
> eMB=48.0
> maxMergeSizeMB=4.0),segFN=segments_4p,generation=169,filenames=[segment
> s_4p]
> 36602 [Thread-15] INFO  org.apache.solr.core.SolrCore  û newest commit =
> 169[seg
> ments_4p]
> 36603 [Thread-15] INFO  org.apache.solr.search.SolrIndexSearcher  û Opening
> Sear
> cher@54dfcf main
> 36604 [Thread-15] INFO  org.apache.solr.update.UpdateHandler  û
> end_commit_flush
>
> 36604 [searcherExecutor-79-thread-1] INFO  org.apache.solr.core.SolrCore  û
> Quer
> ySenderListener sending requests to Searcher@54dfcf
> main{StandardDirectoryReader
> (segments_4p:1330871938621:nrt)}
> 36608 [searcherExecutor-79-thread-1] INFO  org.apache.solr.core.SolrCore  û
> [tv-
> wordpress] webapp=null path=null
> params={start=0&event=newSearcher&q=solr&distri
> b=false&rows=10} hits=0 status=0 QTime=4
> 36609 [searcherExecutor-79-thread-1] INFO  org.apache.solr.core.SolrCore  û
> [tv-
> wordpress] webapp=null path=null
> params={start=0&event=newSearcher&q=rocks&distr
> ib=false&rows=10} hits=0 status=0 QTime=0
> 36610 [searcherExecutor-79-thread-1] INFO  org.apache.solr.core.SolrCore  û
> [tv-
> wordpress] webapp=null path=null
> params={event=newSearcher&q=static+newSearcher+
> warming+query+from+solrconfig.xml&distrib=false} hits=0 status=0 QTime=1
> 36610 [searcherExecutor-79-thread-1] INFO  org.apache.solr.core.SolrCore  û
> Quer
> ySenderListener done.
> 36610 [searcherExecutor-79-thread-1] INFO  org.apache.solr.core.SolrCore  û
> [tv-
> wordpress] Registered new searcher Searcher@54dfcf
> main{StandardDirectoryReader(
> segments_4p:1330871938621:nrt)}
> 36611 [Thread-15] INFO
> org.apache.solr.handler.dataimport.SimplePropertiesWrite
> r  û Read dataimport.properties
> 36614 [Thread-15] INFO
> org.apache.solr.handler.dataimport.SimplePropertiesWrite
> r  û Wrote last indexed time to dataimport.properties
> 36614 [Thread-15] INFO  org.apache.solr.handler.dataimport.DocBuilder  û
> Time ta
> ken = 0:0:0.367
> 36614 [Thread-15] INFO  org.apache.solr.update.processor.LogUpdateProcessor
> û [
> tv-wordpress] webapp=/solr path=/dataimport params={command=full-import}
> status=
> 0 QTime=13 {deleteByQuery=*:*,commit=} 0 13
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Empty-facets-on-Solr-with-MySQL-tp4109170p4109330.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to