开发者

How to start work on Solrnet

I have installed Apache Tomcat 6 and configure Solr 1.4. Now Solr service running successfully开发者_JAVA百科. In Solr 1.4 has two important file solrconfig.xml and schema.xml to configure c# application with Solr service. But whenver I changed schema.xml file according to sql table’s field it’s stop the Solr service.

so tell me step by step to configure solrconfig.xml and schema.xml

Thanks,


Unfortunately, the question isn't clear or is too broad, so I can only give general advice and point to documentation.

But whenver I changed schema.xml file according to sql table’s field it’s stop the Solr service.

Yes, after changing your schema you either have to restart your Solr instance, or, if you are using Cores (recommended), you have to reload the changed core.

tell me step by step to configure solrconfig.xml and schema.xml

Just change the files according to your needs. The Solr package contains numerous examples, all thoroughly commented. Documentation on solrconfig.xml is here. Documentation on schema.xml is here. After making any change in solrconfig.xml you have to restart your Solr instance.

Also, when making changes to the schema, make sure you reflect those changes in your SolrNet mapping.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜