开发者

How can I create Solr Instance

开发者 https://www.devze.com 2023-03-14 16:10 出处:网络
I am new to Apache Solr, and I want to create Solr instances. I have configured the Apache Solr 3.2.0 locally in my laptop. How I can create Solr Instance开发者_StackOverflow中文版 and what is the mea

I am new to Apache Solr, and I want to create Solr instances. I have configured the Apache Solr 3.2.0 locally in my laptop. How I can create Solr Instance开发者_StackOverflow中文版 and what is the meaning of Solr Instance. Any help will be appreciated..


what is the meaning of Solr Instance

An solr-instance is something like an runtime-environment. It's an running solr service. U use Solr to work with lucene. Lucene are java libraries to create/access/... the fulltext index, no instance, no running system. To contact/use this indexed data (import/export/search/...) , you need an "mediator" or "agent" like solr. Solr can index or access the indexed data by using lucene.

Example: if you have an laptop or pc. So the running (linux/win) system is an instance, while the data from the systems is stored on hard disk.

Solr is comparable with the running system, lucene is comparable with the disk-dirver to store data on your system-drive.

To get an definition of what an instance is, check this: http://en.wikipedia.org/wiki/Instance_%28computer_science%29

How I can create Solr Instance

by starting the tomcat server, which runs the Solr J2EE component. So if your Solr is still configured, start the tomcat for starting/creating an solr-instance.

In general, this link is helpful: http://wiki.apache.org/solr/SolrTomcat

0

精彩评论

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

关注公众号