xml - Apache solr collection -


hi new apache solr bear me. trying create collection/core remains on admin page every time load solr 4.10.4 on mac. have make new core every time open solr admin page.

currently, have solrconfig.xml, schema.xml , solr.xml file , follows.

solrconfig.xml:

<?xml version="1.0" encoding="utf-8" ?> <config> <lucenematchversion>lucene_43</lucenematchversion> <requestdispatcher handleselect="false"> <httpcaching never304="true" /> </requestdispatcher> <requesthandler name="/select" class="solr.searchhandler" /> <requesthandler name="/update" class="solr.updaterequesthandler" /> <requesthandler name="/admin" class="solr.admin.adminhandlers" /> <requesthandler name="/analysis/field" class="solr. fieldanalysisrequesthandler" startup="lazy" /> </config> 

schema.xml:

<?xml version="1.0" encoding="utf-8" ?> <schema version="1.5"> <fields> <field name="id" type="string" indexed="true" stored="true" required="true"/> <field name="addr_from" type="string" indexed="true" stored="true" required="true"/> <field name="addr_to" type="string" indexed="true" stored="true" required="true"/> <field name="subject" type="string" indexed="true" stored="true" required="true"/> </fields> <uniquekey>id</uniquekey> <types> <fieldtype name="string" class="solr.strfield" /> </types> </schema> 

solr.xml:

<?xml version="1.0" encoding="utf-8" ?> <collection2> <schema version="1.5"> <fields> <field name="id" type="string" indexed="true" stored="true" required="true"/> <field name="addr_from" type="string" indexed="true" stored="true" required="true"/> <field name="addr_to" type="string" indexed="true" stored="true" required="true"/> <field name="subject" type="string" indexed="true" stored="true" required="true"/> </fields> <uniquekey>id</uniquekey> <types> <fieldtype name="string" class="solr.strfield" /> </types> </schema>   <solr persistent="true"> 

 

thanks!

i found issue! problem within version 4.10.4, once updated , used solr version 6.1.0 , used solr tutorial problem fixed. help!


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -