Solr for Windows Server 2008 R2

I need to install Solr on Windows Server 2008 R2 and integrate it with asp.net mvc3 application. I tried to find documents on how to install / install solr on a Windows server, but did not find any good documents / help. Moreover, after installation, I want to integrate the results into asp.net mvc3 applications, so I need to display the search query and results there. I also do not know how to do this. Although both questions are slightly different from each other, any suggestions / documents that can help us get started are really welcome.

+5
source share
5 answers

The following is a step-by-step procedure to get started:

Step 1: Download Solr. This is just a zip file.

2: SOLR_HOME_DIR/dist/apache-solr-1.3.0.war tomapat webapps: $CATALINA_HOME/webapps/solr.war - . .

3: solr . solr. - SOLR_HOME_DIR/examples/solr , , Solr . , C:\solr.

4:. , , , JAVA_HOME, JRE_HOME, CATALINA_OPTS, CATALINA_HOME. , CATALINA_HOME Tomcat, CATALINA_OPTS , Solr.

5: tomcat. , , tomcat . $CATALINA_HOME/webapps, solr.

6: Stop tomcat

7: solr WEB-INF/web.xml. , , :

<!-- People who want to hardcode their "Solr Home" directly into the 
     WAR File can set the JNDI property here... 
 --> 
<!-- 
  <env-entry> 
     <env-entry-name>solr/home</env-entry-name> 
     <env-entry-value>/Path/To/My/solr/Home/solr/</env-entry-value> 
     <env-entry-type>java.lang.String</env-entry-type> 
  </env-entry> 
--> 

Solr (: C:\solr) env.

8: Tomcat , . , solr , url http://localhost:8080/solr/admin/.

, Solr ASP.Net, , Solr HTTP.

+8

:

  • zip apache

, schema.xml, solrconfig.xml .., solr tutorial

0

Tomcat solr.

http://wiki.apache.org/solr/SolrTomcat#Multiple_Solr_apps

XML ( ) /var/lib/tomcat6/conf/Catalina/localhost, Solr conf/solrconfig.xml <dataDir>${solr.data.dir:/var/www/app/app_indexer}</dataDir>. Linux...

.Net, SolrNet StackOverflow.

0

Solr 64- Tomcat Solr.
Solr ( ) asp.net, AJAX Solr.

- , .

0

All Articles