tag:blogger.com,1999:blog-5611706923356552090.post1957342245986299197..comments2024-03-22T05:16:37.375-04:00Comments on C Razor Sharp / C# / .NET: Full Text Search using Solr / Lucene and C# / .NET. End to end tutorial on using these technologies with SolrNet.A.Friedmanhttp://www.blogger.com/profile/17438995939632438979noreply@blogger.comBlogger36125tag:blogger.com,1999:blog-5611706923356552090.post-31391956808408323302017-04-20T19:09:06.192-04:002017-04-20T19:09:06.192-04:00Really enjoyed reading this, now time to go play w...Really enjoyed reading this, now time to go play with it!Unknownhttps://www.blogger.com/profile/01425172059964234026noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-89499144858652385232012-10-13T05:01:06.039-04:002012-10-13T05:01:06.039-04:00Very good and detailed article to get one started ...Very good and detailed article to get one started with Solr, very easy to understand and code shows just what you need, kudos!plemonhttps://www.blogger.com/profile/02769400282234657900noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-85958433890222092672012-08-07T16:36:23.570-04:002012-08-07T16:36:23.570-04:00Very nice post, i've being looking for somethi...Very nice post, i've being looking for something like this and didn't found much.<br /><br />Thank you very much, i'll give it a try!sebusarghttps://www.blogger.com/profile/12023482437112455233noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-10582108308352282202012-03-16T09:20:41.066-04:002012-03-16T09:20:41.066-04:00Nice article! We're trying to get Solr integr...Nice article! We're trying to get Solr integrated with our .NET app and your article is the first one we've read - it really takes you through step by step - thanks!dmeadhttps://www.blogger.com/profile/13079071947874933449noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-46244810107298842182012-03-15T21:42:03.519-04:002012-03-15T21:42:03.519-04:00A.Friedman, Excellent tutorial with exact amount o...A.Friedman, Excellent tutorial with exact amount of details for any .NET developer to get started on Solr. Thanks you for taking time to write such an useful tutorial.<br /><br />RajaRajahttps://www.blogger.com/profile/00467115662771270423noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-37678225735482126742012-01-21T10:25:29.108-05:002012-01-21T10:25:29.108-05:00Very helpful, thanks!Very helpful, thanks!qntmfredhttps://www.blogger.com/profile/14089375087644662609noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-19055446600562274412011-12-06T23:29:21.394-05:002011-12-06T23:29:21.394-05:00Thanks for the article.Its a great help.Can we ind...Thanks for the article.Its a great help.Can we index .pdf and .doc also?Prakashhttps://www.blogger.com/profile/02963771724458239866noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-4289654462556308782011-10-21T01:52:38.162-04:002011-10-21T01:52:38.162-04:00Hi,This article is really helpful.I am getting som...Hi,This article is really helpful.I am getting some sql string error while debugging your code.Can you help me out please..Prakashhttps://www.blogger.com/profile/02963771724458239866noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-66358886410851433822011-08-04T12:36:32.573-04:002011-08-04T12:36:32.573-04:00I've updated the post to now include a link to...I've updated the post to now include a link to the TextFileHarvester application that will work with SQL Server 2008 as well. Make sure you have the SMO dlls installed on your machine (if you have Management Stduio then you'll have it).A.Friedmanhttps://www.blogger.com/profile/17438995939632438979noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-49283466449005544002011-08-02T17:23:45.259-04:002011-08-02T17:23:45.259-04:00Can you send me the updated app to support SQL2008...Can you send me the updated app to support SQL2008 as well? Or the code? matt@incasestudio.comMatt Dameronhttps://www.blogger.com/profile/05741922094954318598noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-67202218987205329532011-05-10T07:56:28.701-04:002011-05-10T07:56:28.701-04:00Thanks for the article, every bit of "I used ...Thanks for the article, every bit of "I used X and this is how it works" is absolute gold for newbies scrambling to keep up. <br /><br />I saw a mention of LucidWorks Enterprise. I have to say it's a really quick & easy way to getting Solr installed and configured on Windows. Having said that, the licensing (which is necessary for any actual use) is prohibitive for all but large businesses and commercial websites. Wish there was something else..Jameshttps://www.blogger.com/profile/08553974810264037420noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-11309227374931727712011-04-29T02:06:11.937-04:002011-04-29T02:06:11.937-04:00Great Article. Probably the best article on the we...Great Article. Probably the best article on the web to start Solr integration with .netBatagodahttps://www.blogger.com/profile/08121658200535501255noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-66326416200237028462011-04-19T02:36:39.535-04:002011-04-19T02:36:39.535-04:00Hi,
Its a great article and I am working on multif...Hi,<br />Its a great article and I am working on multifaceted searching.It is very helpful to me and thank you for this article.Nhttps://www.blogger.com/profile/12902497091808619961noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-28291039497682668352011-04-13T10:04:08.378-04:002011-04-13T10:04:08.378-04:00First of all, great article! Very well written and...First of all, great article! Very well written and easy to follow. Not sure if this is a newbie mistake, but I wasn't sure what to replace "ALEX\SQLEXPRESS" with on my local PC to get the TextFileHarvester to work. After digging around a bit, I found that my setup needed ".\SQLEXPRESS" - just wanted to add this comment in case anyone else ran into it.Unknownhttps://www.blogger.com/profile/10675004384734351527noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-67313149040577960562010-11-19T09:32:45.504-05:002010-11-19T09:32:45.504-05:00This is a great article, I like it to much, it is ...This is a great article, I like it to much, it is very clear, and it’s helpful for a beginner, can you tell me where can I find more information, documentation, examples or a book about solrNet?<br />I’m starting to work with this and I need more examples, and the solr page is not very easy to understand. Can we use facets with solrNet to search with meta-data associated to the files? Does solrNet support facets?<br />Thanks for your work!!Héctorhttps://www.blogger.com/profile/09484747295120577392noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-3052473103659925062010-11-19T09:30:04.354-05:002010-11-19T09:30:04.354-05:00This is a great article, I like it to much, it is ...This is a great article, I like it to much, it is very clear, and it’s helpful for a beginner, can you tell me where can I find more information, documentation, examples or a book about solrNet?<br />I’m starting to work with this and I need more examples, and the solr page is not very easy to understand. Can we use facets with solrNet to search with meta-data associated to the files? Does solrNet support facets?<br />Thanks for your work!!Héctorhttps://www.blogger.com/profile/09484747295120577392noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-4066093146638307942010-09-05T04:59:18.245-04:002010-09-05T04:59:18.245-04:00I resolved my problem by removing the QueryElevati...I resolved my problem by removing the QueryElevationComponent and its handler from the solrconfig.xml file.beahttps://www.blogger.com/profile/17216862662617492101noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-82094678146823933522010-09-04T11:59:23.211-04:002010-09-04T11:59:23.211-04:00Excellent article!! You have almost covered everth...Excellent article!! You have almost covered everthing for dummies. Good JobSatheeshhttps://www.blogger.com/profile/06415065262778756323noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-10694477191448762842010-08-25T05:37:46.802-04:002010-08-25T05:37:46.802-04:00Hi,
Can we create multiple entity in single data...Hi, <br /><br />Can we create multiple entity in single data file ( could you give me the sample schema.xml for multi entity)?...Thalaiselvamhttps://www.blogger.com/profile/06750375903424332114noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-51702386344976182632010-08-24T08:13:27.526-04:002010-08-24T08:13:27.526-04:001) Can we passible to create more than one data fo...1) Can we passible to create more than one data folder?... how to configure the Solr home folder through coding?... <br /><br />2) can we index multiple table's record in single data folder?..<br /><br />Kindly advice...<br />ThanksThalaiselvamhttps://www.blogger.com/profile/06750375903424332114noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-62345541646992322652010-08-23T17:14:48.646-04:002010-08-23T17:14:48.646-04:00I am running into trouble when I replace the schem...I am running into trouble when I replace the schema.xml file content with the index schema in the tutorial. The error I get when I try to navigate to ".../solr/admin" after doing this is:<br /><br />"QueryElevationComponent requires the schema to have a uniqueKeyField implemented using StrField at org.apache.solr.handler. component.QueryElevationComponent.inform (QueryElevationComponent.java:157)"<br /><br />I'm wondering if anyone else had and solved this problem? I can't find anything much to help through google, and can't understand why there would be an insistence that a uniqueKeyField be a StrField--if thats what this means? The only configuration change I have made to solr is to set the "solr/home" environment entry in "Tomcat\webapps\solr\WEB-INF\web.xml" file to "C:\Solr" as for some reason things wouldn't work just setting "-Dsolr.solr.home=c:\solr" in the Java Opts. Sorry, a bit long. Really grateful for any help anyone can give on this.beahttps://www.blogger.com/profile/17216862662617492101noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-26218741421122996932010-08-16T09:25:36.722-04:002010-08-16T09:25:36.722-04:00@sun: That little app uses SMO to create the datab...@sun: That little app uses SMO to create the database and populate it. Unfortunately, when I wrote that app, I was targeting SQL2005, and never got around to updating it to support SQL2008 as well. Send me your email address, and I'll try to send you an updated version.<br /><br />--AlexA.Friedmanhttps://www.blogger.com/profile/17438995939632438979noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-38278380858213819652010-08-16T09:10:15.842-04:002010-08-16T09:10:15.842-04:00I am getting error while running the exe using DO...I am getting error while running the exe using DOS prompt<br />"Failed to connect to server c18/MSSQLSERVER2008".<br /><br />pls helpsun.parthhttps://www.blogger.com/profile/16617034982709279708noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-21162520244243689132010-07-15T18:10:00.768-04:002010-07-15T18:10:00.768-04:00@Alex This makes sense. Thanks for your quick answ...@Alex This makes sense. Thanks for your quick answer!Alyonahttps://www.blogger.com/profile/06542955006622791521noreply@blogger.comtag:blogger.com,1999:blog-5611706923356552090.post-75567556030737698732010-07-14T08:23:06.221-04:002010-07-14T08:23:06.221-04:00@Aly: Regarding retrieving the text off the docume...@Aly: Regarding retrieving the text off the documents, that's a whole 'nother can of worms. It really depends on which kind of document you're dealing with as they each have their own suite of options. For Office documents, you can look into the Microsoft Interop libraries (which is MUCH easier to use now with .NET 4.0). For pdf's you can look into iTextSharp. Basically, each format has its own challenge. Oh, and iFilters are another option.<br /><br />As for your second point regarding storing the path in the index, that's actually a nice idea, and for my simple example would work. In the real world though, you wouldn't want to do that for a few reasons:<br /><br />A) With a database you can store a lot more metadata that would be lost if you stored just the path in the index. For example, in my sample, when I display the search results, I display the title of the article. How would you do that if you without a DB?<br /><br />B) What if you need to change servers and the location of all your files change? Good luck updating the index! With a database, that's trivial.<br /><br />There are other more subtle benefits for using a DB, but the main point is that an index isn't a storage medium, that's what the DB is for.<br /><br />HTH<br />--AlexA.Friedmanhttps://www.blogger.com/profile/17438995939632438979noreply@blogger.com