Employing Solr/Lucene with SQL Server for Full-Text Searching Comments http://www.chrisumbel.com/article/lucene_solr_sql_server#comments Employing Solr/Lucene with SQL Server for Full-Text Searching Sun, 05 Feb 2012 02:41:12 GMT Comment by ram on Mon Mar 14 2011 20:45:48 GMT+0000 (UTC) Thanks alot for the detailed step by step procedure. I'm facing a problem while using the data-config. while starting solr in tomcat it is saying that "content is not allowed in prolog". When I take off the dih, solr is up and running fine. I couldn't find any syntax mistakes in my data-config. Can there be any other reason for this error? Please let me know. http://www.chrisumbel.com/article/lucene_solr_sql_server#comments_4d7e7e7cb2ee2f3b67000182 http://www.chrisumbel.com/article/lucene_solr_sql_server#comments_4d7e7e7cb2ee2f3b67000182 Mon, 14 Mar 2011 20:45:48 GMT Comment by Brian Walters on Mon Mar 28 2011 17:27:46 GMT+0000 (UTC) Thanks Chris. How did you get SolrNET to work with a console app. I am getting an error. a system.web dependency http://www.chrisumbel.com/article/lucene_solr_sql_server#comments_4d90c512b2ee2f2efd0000cf http://www.chrisumbel.com/article/lucene_solr_sql_server#comments_4d90c512b2ee2f2efd0000cf Mon, 28 Mar 2011 17:27:46 GMT Comment by Chris Umbel on Wed Mar 30 2011 12:45:26 GMT+0000 (UTC) Brian, Been a while since I've done any .Net work, but I suspect you need a reference to System.Web.dll http://www.chrisumbel.com/article/lucene_solr_sql_server#comments_4d9325e6b2ee2f03ed00002e http://www.chrisumbel.com/article/lucene_solr_sql_server#comments_4d9325e6b2ee2f03ed00002e Wed, 30 Mar 2011 12:45:26 GMT Comment by Proge on Mon Sep 26 2011 14:05:34 GMT+0000 (UTC) Nice tutorial Chris thanks a million! ran into a couple of small problems following it. Error: Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program Solution: Edit startup.bat add path to your java dir eg: JAVA_HOME=c:\Program Files\Java\jdk1.7.0 --- When doing import there if you get error Error: org.apache.solr.common.SolrException: Error loading class 'org.apache.solr.handler.dataimport.DataImportHandler' at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:389) at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:423) at org.apache.solr.core.SolrCore.createRequestHandler(SolrCore.java:459) Solution: apache-solr-dataimporthandler-3.4.0.jar needs to be copied from solr dist folder to \tomcat6\solr\lib\ http://www.chrisumbel.com/article/lucene_solr_sql_server#comments_4e8086ae76ffe4a06e001e46 http://www.chrisumbel.com/article/lucene_solr_sql_server#comments_4e8086ae76ffe4a06e001e46 Mon, 26 Sep 2011 14:05:34 GMT Comment by Chris Umbel on Mon Sep 26 2011 14:37:39 GMT+0000 (UTC) Hey there, thanks for the feedback! Yeah, when I wrote the post it was during Solr 1.4.x. A lot has changed since then. I'll update the post shortly based on your findings. The JAVA_HOME is important because windows users might not think to have that set. Thanks again for dropping me a line! http://www.chrisumbel.com/article/lucene_solr_sql_server#comments_4e808e3376ffe4a06e001f4f http://www.chrisumbel.com/article/lucene_solr_sql_server#comments_4e808e3376ffe4a06e001f4f Mon, 26 Sep 2011 14:37:39 GMT Comment by Mukthyar on Sat Nov 05 2011 12:35:24 GMT+0000 (UTC) Thank you,This tutorial saved my time ..Thanks once again. http://www.chrisumbel.com/article/lucene_solr_sql_server#comments_4eb52d8c5614915274065480 http://www.chrisumbel.com/article/lucene_solr_sql_server#comments_4eb52d8c5614915274065480 Sat, 05 Nov 2011 12:35:24 GMT Comment by Mark on Tue Dec 20 2011 10:52:43 GMT+0000 (UTC) Thanks Chris!! This tutorial helped me in configuring Solr in a couple of minutes. Very helpful and we appreciate a lot. http://www.chrisumbel.com/article/lucene_solr_sql_server#comments_4f2dec48c909a6a47a00d98b http://www.chrisumbel.com/article/lucene_solr_sql_server#comments_4f2dec48c909a6a47a00d98b Tue, 20 Dec 2011 10:52:43 GMT