To Use Lucene (on Linux) And .net (on Windows) At The Same Time?
Jan 13, 2010
I want to start a new project I need performance as well as a neat and robust GUI
about the performance I have around 2 millions documents which I like to index'em by the help of lucene installed on linux due to its performance and security.
and about GUI I'd like to have flexible and professional look website and since I'm experienced with .net I'd like to retrieve the lucene's result and show it in my own way.
I've heard about some RESTful services available inside the lucene but I don't have any clue according to that and how to connect these two together.
how can I connect asp.net to lucene?
View 2 Replies
Similar Messages:
Jun 17, 2010
how to deploy vb.net windows apploication in linux platform? is there any procdure
View 6 Replies
Feb 5, 2011
I have a Wordpress blog on GoDaddy. I originally had it using "Windows Hosting" but ran into problems so moved it to "Linux Hosting" since I was told it was more compatible and there would be fewer issues. I had a 3rd party customize the blog and add some code, etc. I would like now to use WebMatrix to continue customizing the blog on my own, and be able to step through code and add php etc. So my questions are these. Will Webmatrix work in this scenario --- Linux Hosting and processing PHP? Or do I have to move my blog onto Windows Hosting so that it uses IIS? And second...what would I have to do...FTP down my wordpress files as well as my database in order to use Webmatrix?
View 2 Replies
Mar 17, 2010
My kind webhost (1and1) royally asked me to go elsewhere to do something like this.
I have 2 sites. One of them was developed by a .Net programmer. Now I am contracted to implement a PHP site and fetch data from the .Net site.
There is an ASP.Net form that a customer fills and when they hit submit, the data gets stored in SQL Server DB. How do I also store the same data in MySQL parallelly? I cannot directly use some database connectors with ASP.Net since MySQL connectivity is not supported on 1and1 Windows hosting (biz account, no less!).
What I thought of is to publish an RSS feed of entries in ASP.Net site and routinely scrape that data into MySQL on Linux host. It is an overkill, I know. Not efficient.
View 1 Replies
Aug 19, 2010
Can I connect to a ubuntu server, that is running mysql using ado.net or do I need a special driver?
View 2 Replies
Apr 17, 2010
I am trying to get a handle on Solrnet and interacting an ASP.NET site with a Solr server. However, the sample app (on the code repository) is MVC based ,does anyone know of a version in plain vanilla ASP.NET?
View 1 Replies
May 26, 2010
-Edit- Important: I updated the code to not use obsoluete functions. Now only the NoSuchDirectoryException issue remains
Edit: NOTE i can bypass the NoSuchDirectoryException by creating the folder in a winform app and copy it. However i still have a LockObtainFailedException issue if i dont shut down properly.I have an issue with (Lucene.net 2.9.2
[https://svn.apache.org/repos/asf/lucene/lucene.net/tags/]. It throws a lock exception. After poking around i notice these things.
My code below works in an app bit when calling in Application_Start i get a NoSuchDirectoryException.Not closing the writer (as my code doesnt do below) i WILL get a LockObtainFailedException with the message
Lock obtain timed out: SimpleFSLock@<FULL_PATH> from either app or asp.net
These thread hinted when spawning threads they get less permissions then i do (but! my main thread has problems as well...) and one solution is to impersonate IIS. I am using visual studios 2010. I am not sure how full blown it is but my attempt to impersonate it failed.
So my question is how do i have lucene create the directory and not throw an exception if dont close the writer for some reason (such as power going out)?
http://stackoverflow.com/questions/2341163/why-is-my-lucene-index-getting-locked/2499285#2499285
http://stackoverflow.com/questions/1123517/lucene-net-and-i-o-threading-issue/1123981#1123981
static IndexWriter writer = null;
static void lucene_init()
{
[code].....
View 1 Replies
Oct 21, 2010
How do I sort my results in a random order. my code looks something like this at the moment:
Dim searcher As IndexSearcher = New IndexSearcher(dir, True)
Dim collector As TopScoreDocCollector = TopScoreDocCollector.create(100, True)
searcher.Search(query, collector)
Dim hits() As ScoreDoc = collector.TopDocs.scoreDocs
For Each sDoc As ScoreDoc In hits
'get doc and return
Next
View 1 Replies
Jun 11, 2010
I am looking for any open source application that uses lucene.net. I am working on a complicated web application and would like to see how others have implemented lucene.net.
View 2 Replies
Nov 4, 2010
Am using Lucene.net 3.0 in my Application which as frequent updates to index.
But when new data on a forum it's not available in the search . it's taking few minutes to update index.
how can i overcome this.....
View 1 Replies
Feb 24, 2011
We have a web service method which accepts some data and puts it in Lucene index. We use it to index new and updated entries from our asp.net web app.
These entries are stored in a large SQL Server table (20M rows and growing), and I need a way to be able to reindex the whole table in case if current index gets deleted or corrupted. I'm not sure what's the optimal way to retrieve chunks of data from a large table. Currently, we use the fact that the table has PK which is autoincrement, so we get chunks of 1000 rows until it starts to return nothing. Kind of like (in pseudo language):
i = 0
while (true)
{
SELECT col1, col2, col3 FROM mytable WHERE pk between i and i + 1000
.... if result is empty 20 times in a row, break ....
.... otherwise send result to web service to reindex ....
i = i + 1000
}
This way, we don't need to SELECT COUNT(*) which would be a big performance killer, and we just move up the pk values until we stop getting any results. This has it's con: if we have a hole greater than 20,000 values somewhere in the table, it will stop indexing assuming it reached the end, but that's a tradeoff we have to live for now.
way of getting data from a table to index? I would assume we are not the first ones facing this problem - search engines are widely used nowadays :)
View 3 Replies
May 14, 2010
Situation:I have an ASP .NET application that will search through docs using Lucene. I want to run the initial indexing (the index will be incremental after the initial run so there wont be need to index the whole directory again in future). Currently, I have about 5GB of docs (45000files).Problem: My application times out before completing the process. I have altered the TimeOut like this:HttpContext.Current.Server.ScriptTimeout = 200000;but it still does not complete the process.
View 1 Replies
Sep 20, 2010
Does Session Time - out is applicable ing Windows authentication?If so, in what event can i capture this?
View 6 Replies
May 6, 2010
Is there a pre-existing library to extract plain text form Open XML file formats (e.g. docx, pptx, and xlsx) files?
I require this to populate a lucene.net index.
I've found this example which extracts text from docx and it seems to work okay. But before building my own solution based on this I was wondering if there's something already available for the other file formats?
View 2 Replies
Feb 2, 2010
does ASP.net(web development) works with Linux platform??
View 2 Replies
Jan 29, 2010
What are the steps for deploying the .Net Web Application on Linux & apache web server developed using .NET Framework using Visual Studio 2005?
View 1 Replies
Nov 25, 2010
I'm looking for a CMS running under Mono framework: this is needed to have it deployed on Linux-based (Ubuntu/Debian) machines.
told me about OrchardCMS, but it seems it's not compatible yet.They also told me about Umbarco, but I haven't found any information on compatibility.
View 1 Replies
Jun 24, 2010
[Code]....
View 3 Replies
Feb 4, 2011
I am wondering if aspx generated webpage content can be read on linux platforms. Is it necessary to have the Mono platform installed on the linux web-clients side ?
View 5 Replies
Nov 24, 2010
I need to run asp.net 3.5 using VMWare server on linux..
our server is linux and our client machines on windowx ..
i need to host my web application on linux server by using vmware
View 3 Replies
Jan 17, 2011
I normally use Wordpress on a Linux hosting. Can I use WebMx with Linux Hosting?I didn't found the FAQs of this forum.
View 3 Replies
Feb 13, 2010
My workstation does not have Internet access, but it uses a DNS server on the LAN. Every time I start any ASP.NET application from Visual Studio with either F5 or Ctrl-F5, the workstation (I don't know whether it's Visual Studio or Webdev.Webserver.exe) asks the DNS server for the IP address of "time.windows.com". The application is not started until the LAN-only DNS server returns an error, which results in a 10-second delay, during which the Internet Explorer is started, but displays a white background. Is there any way to prevent these connection attempts?
View 2 Replies
Sep 23, 2010
I have developed my application in visual studio 2008. Now i want to configure(deploy) it on linux server.
View 7 Replies
Feb 16, 2011
I have a window/web application developed in .Net( say using any .Net supported language VB,C#,VC++) on WINDOWS platform. And I want to run those application on Linux platform. 1) Will it directly run on Linux? Yes/No 2) If No, What all things I need to take care to make it run on Linux platform? (Like install required .Net Framework)
View 5 Replies
Dec 8, 2010
I would like to know whether application developed in Microsoft Visual Studio .Net 2008 has the compatible to run in Linux and Unix environment.
View 2 Replies